Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
An added value to the module would be able to configure the API version you want to use, this is just an extra GET parameter the URL of the video.
For example:
<object type="application/x-shockwave-flash" height="80" width="540" data="http://www.youtube.com/v/WrZnDJCi24s&amp;rel=0&amp;enablejsapi=1&amp;playerapiid=ytplayer&amp;fs=1&version=1" id="media-youtube-default-external-object-1">
<param name="movie" value="http://www.youtube.com/v/WrZnDJCi24s&amp;rel=0&amp;enablejsapi=1&amp;playerapiid=ytplayer&amp;fs=1&version=1">
<param name="allowScriptAccess" value="sameDomain">
<param name="quality" value="best">
<param name="allowFullScreen" value="true">
<param name="bgcolor" value="#FFFFFF">
<param name="scale" value="noScale">
<param name="salign" value="TL">
<param name="FlashVars" value="playerMode=embedded">
<param name="wmode" value="transparent">
<!-- Fallback content -->
<a href="http://www.youtube.com/watch?v=WrZnDJCi24s"><img src="http://img.youtube.com/vi/WrZnDJCi24s/0.jpg" alt="See video" title="See video" width="540" height="25"></a> </object>
Comment | File | Size | Author |
---|---|---|---|
#2 | version_API_setting-1606854.patch | 4.41 KB | MaxMendez |
#1 | youtube_version_api.png | 192.13 KB | MaxMendez |
Comments
Comment #0.0
MaxMendez CreditAttribution: MaxMendez commentedchange image
Comment #0.1
MaxMendez CreditAttribution: MaxMendez commentedchange image
Comment #1
MaxMendez CreditAttribution: MaxMendez commentedExample of different versions of player:
Comment #2
MaxMendez CreditAttribution: MaxMendez commentedHere's the path.
Comment #2.0
MaxMendez CreditAttribution: MaxMendez commenteddelete link