Keyword

Videos have wrong size

  • Sirius Webmaster
  • Sirius Webmaster's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 4 months ago #96745 by Sirius Webmaster
Videos have wrong size was created by Sirius Webmaster
Hi,

I have problems to set video size for AllVideos in K2.

Setting width to 480px in category layout results in width 452px.

Setting width to 500px in item layout results in width 470px

So, in both cases, the video size is 94% of what it should be.

Changing default video size in the Allvideos plugin has no effect.

Changing to another template has no effect either.

 

Any ideas, anybody?

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #96746 by BBC
Replied by BBC on topic Videos have wrong size
Leave all fields for sizes empty, and let Allvideos plugin decide. Try it.

Please Log in or Create an account to join the conversation.

  • Sirius Webmaster
  • Sirius Webmaster's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 4 months ago #96747 by Sirius Webmaster
Replied by Sirius Webmaster on topic Videos have wrong size
Thanks for your quick reply.

That would be an option, but the desired effect is to have a smaller video in the blog layout page and a bigger video in the item page.

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 4 months ago #96748 by Yiota
Replied by Yiota on topic Videos have wrong size
You can try with html resize through the CSS for the smaller videos in the blog layout and keep the bigger dimension set either in the category parameters or in the All Videos Plugin parameters.

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #96749 by BBC
Replied by BBC on topic Videos have wrong size
I have problem with Allvideos and Firefox. All browsers show same, but Firefox shows different width.

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 4 months ago #96750 by Yiota
Replied by Yiota on topic Videos have wrong size
Could you provide a link to your site?

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #96751 by BBC
Replied by BBC on topic Videos have wrong size
It´s a localhost.Will try to explain pictures. Without it it´´s confusing.Looking at pictures you could assume that Opera has problem.But imagine scenario when i remove that space at left, so Video block is positioned as "Related video" text, precisely under text. (in 1 px)Then you can imagine how  Video is short in Firefox. Spacing at right side of Video block. I have 2 custom classes in CSS to make styling consistent with JCE videos:div.itemView object {padding:8px;border:1px solid #CBC6AF;} /* Video JCE */div.itemView object:hover {padding:8px;border:1px solid #C96041;} /* Video JCE */Without it it is OK. But still, only Firefox makes problems. Other browsers have no problem with those 2 classes.
Attachments:

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 4 months ago #96752 by Yiota
Replied by Yiota on topic Videos have wrong size
Have you tried to redefine the width of the object with css, just in case?

i.e. div.itemView object {width:485px !important; }

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #96753 by BBC
Replied by BBC on topic Videos have wrong size
How did you know it is precisely 485 px ? :)

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #96754 by BBC
Replied by BBC on topic Videos have wrong size
Firefox respect that width in CSS.

But it is still cca 10px shorter then other browsers. Tried change values with Firebug and "Inspect elements" in Opera.

When i change value in Opera to 465px then it looks same as in Firefox.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum