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.
This video plays in our current production site, which is running 7.x-1.0-beta
But it won't run in our UAT site which we've updated to 7.x-3.0
Code differences:
production:
<object width="560" height="340" alt="Youtube Video - //www.youtube.com/embed/-A7DU9ZCXT8?wmode=opaque">
<param name="movie" value="//www.youtube.com/embed/-A7DU9ZCXT8?wmode=opaque"></param>
<param name="allowFullScreen" value=""></param>
<param name="wmode" value="" />
<embed src="//www.youtube.com/embed/-A7DU9ZCXT8?wmode=opaque" type="application/x-shockwave-flash" width="560" height="340" allowfullscreen="" wmode="" alt="Youtube Video - //www.youtube.com/embed/-A7DU9ZCXT8?wmode=opaque"></embed>
</object>
UAT:
<object width="560" height="340" alt="Youtube Video - http://www.youtube.com/v/-A7DU9ZCXT8?version=3">
<param name="movie" value="http://www.youtube.com/v/-A7DU9ZCXT8?version=3"></param>
<param name="allowFullScreen" value="true"></param>
<param name="wmode" value="transparent" />
<embed src="http://www.youtube.com/v/-A7DU9ZCXT8?version=3" type="application/x-shockwave-flash" width="560" height="340" allowfullscreen="true" wmode="transparent" alt="Youtube Video - http://www.youtube.com/v/-A7DU9ZCXT8?version=3"></embed>
</object>
Comments
Comment #1
Pepper CreditAttribution: Pepper commentedComment #2
Pepper CreditAttribution: Pepper commentedComment #3
Pepper CreditAttribution: Pepper commentedComment #4
Pepper CreditAttribution: Pepper commentedOne seems to be properly converting to an iframe (in chrome's inspect element) the other does not.
Comment #5
Pepper CreditAttribution: Pepper commentedWhen testing the embed code in a straight html file, I had to convert /embed/ to /v/ in order for the video to load.
What needs to modified in the module to get it to print /v/?
Comment #6
Pepper CreditAttribution: Pepper commentedOkay, I found the place in the module where I could make a change and have my videos load. However, I don't think this is the best method for this. It's working atm to change the url_base from /embed/ to /v/.
Comment #7
Pepper CreditAttribution: Pepper commented