Closed (fixed)
Project:
Media: YouTube
Version:
7.x-1.0-alpha5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2011 at 16:02 UTC
Updated:
6 Sep 2012 at 16:29 UTC
It seems that fullscreen parameter is not passed correctly to Javascript object to replace embedded player with html5 player if available.
This property is passed in javascript as:
$JSObject.fullscreen = {$variables['fullscreen']};
I propose adding it in $JSObject.options, with values 0 or 1 (instead of false or true), just after autoplay setting.
I attach a patch against 7.x-1.0-alpha5 version (sorry, I couldn't install dev version, I got errors). But error is applicable to 7.x-1.x-dev too.
Regards.
| Comment | File | Size | Author |
|---|---|---|---|
| media_youtube_set_html5_video_fs_in_js_options_20110711_1749.patch | 963 bytes | jmones |
Comments
Comment #1
RobW commentedFixed in #1555276: Clean up theming function, Use recommended iframe player by default, without js.