Anyone else noticed that the video post code has changed to iFrame?

40 views
Skip to first unread message

syndex

unread,
Nov 8, 2011, 8:55:11 PM11/8/11
to Tumblr API Discussion
I've been developing a theme for tumblr. I recently worked with the
video post format, and know that a few days ago it was using a
different format to what it is now.
Now you are using iframes.

I have:
Cleared my cookies (from Tumblr and YouTube, just in case)
Installed your default theme 'Redux'
There are no extra scripts running.

The youtube parameters you supply automatically to the post is:

<div class="media">
<iframe
width="500"
height="374"
src="http://www.youtube.com/embed/Ho5UvzNZC2o?
autohide=1&amp;
egm=0&amp;
hd=1&amp;
iv_load_policy=3&amp;
modestbranding=1&amp;
rel=0&amp;
showinfo=0&amp;
showsearch=0"
frameborder="0"
allowfullscreen=""
>
</iframe>
</div>

BUT, what if someone then posts a photoset?
Since wmode=opaque is not supplied, videos appear above your overlay,
and for that matter any theme elements that tumblr theme developers
might want to have in lightbox fashion.

Why I'm hesitating is because if i change the theme (for example
Effector theme http://log.carlofranco.ca/)
The code suddenly becomes:

<div class="media">
<iframe class="youtube-player"
src="http://www.youtube.com/embed/Ho5UvzNZC2o?
rel=0&amp;
hd=1&amp;
wmode=opaque"
width="700"
height="524"
frameborder="0"
type="text/html">
</iframe>
</div>
And the problem obviously stops.

I'm ****really really*** confused. Why would two themes show different
results for a change to a core tumblr feature?
I can't imagine that effector fixed the problem that quickly by a
quick fix.

I've looked at changing the doctype to html5, pasting the the only
script the effector theme seems to have into my head code. Nothing
seems to give.

Hoping this is a good forum for discussion too. Theres no where for us
theme developers to discuss this sometimes maddening development
platform!!



Marc




Digital Concept Development & Art Direction
Marckremers.com @Marckremers E83DL London +44 7525 134 369

Reply all
Reply to author
Forward
0 new messages