You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I embedded a youtube video at its default resolution into a slider with dimensions 600x320. Since the anythingWindow has its overflow set to hidden, the video didn't spill over, but when the next slide came it was showing there. Simply adding overflow:hidden to the 'ul.anythingBase li.panel' block in anythingslider.css did the trick.
Thanks, that sounds like an easy fix. By the way, what were your AnythingSlider dimensions? Were they the same as the youtube video? And what did you have the "resizeContents" option set to?
Activity
Mottie commentedon Feb 9, 2011
Hi Colemarkham!
Thanks, that sounds like an easy fix. By the way, what were your AnythingSlider dimensions? Were they the same as the youtube video? And what did you have the "resizeContents" option set to?
colemarkham commentedon Feb 10, 2011
My init code looks like this:
$("#showcase").anythingSlider({
width: 590,
height: 320,
resizeContents: true,
addWmodeToObject: "opaque"
});
I just went to youtube and copied the embed html directly. Looks something like this: