I have created a tumblr theme. Everything was working till I decided to post a video on tumblr video upload. I have a box on main page 250x196 pixels where everything goes in.
I also use prettyphoto as a lightbox clone for both images and videos.
So when I used tumblr upload video, I had these problems:
As a workaround, What I did was this:
<div class="media" data-embed="{JSVideoEmbed-250}" data-video="{JSVideo-250}"></div>
You can see exactly what I mean on a test blog i create with three random videos:
http://stroumfaki.tumblr.com/
But the problem with the resizing still remains. The iframe is 250x196 pixels but the contents aren't. I also don't understand why tumblr posts a javascript in the first only video. The same script it posts at the end of the page.
What I ask might be a bit hard to articulate. I hope the test blog will help you understand what I mean.
Try using a responsive embed - this should scale your movie to fill the container: http://webdesignerwall.com/tutorials/css-elastic-videos
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With