Project:Embedded Media Field
Version:5.x-1.7
Component:Embedded Video Field
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)
Issue tags:allow full screen, youtube

Issue Summary

Hey, how can I add the option to allow users to view embedded Youtube videos in fullscreen? I read that a patch had been committed to an old Alpha but I cant find any options that add the fullscreen capability. I was thinking that I might need the Youtube API module but that only supports D5.

Does the it use a different flash player or do I need to add in a manual link?

Any help appreciated.

Comments

#1

Version:6.x-1.2» 5.x-1.7

Sorry, I'm sure the option to 'Allow fullscreen' wasnt in the menu, it is now so the button is appearing.

However, the button doesnt do anything for Youtube videos.

<div class="field field-type-video-cck field-field-linktoemvid">

<div class="field-label">Paste the URL of the video here:&nbsp;</div>
<div class="field-items"><div class="field-item"><div id="video_cck_youtube_flash_wrapper_1" >Sorry, you need to install flash to see this content.</div>

<script type="text/javascript" src="/modules/swfobject_api/swfobject.js">
</script>

<script type="text/javascript">var sovideo_cck_youtube_flash_wrapper_1 = new SWFObject('http://www.youtube.com/v/96dWOEa4Djs&amp;rel=0&amp;ap=%2526fmt%3D18&amp;fs=1', 'swf_96dWOEa4Djs&amp;rel=0&amp;ap=%2526fmt%3D18&amp;fs=1_video_cck_youtube_flash_wrapper_1', '400', '400', '5', '#FFFFFF');
sovideo_cck_youtube_flash_wrapper_1.addParam('type', 'movie');
$(document).ready(function () { sovideo_cck_youtube_flash_wrapper_1.write("video_cck_youtube_flash_wrapper_1");}); </script>

</div></div></div><!-- google_ad_section_end -->  </div>

Does anything look wrong? Dunno where that 'google_ad_section_end' came from but I'm assuming that not stopping the fullscreen working.

Again, any help appreciated.

#2

Category:support request» bug report

#3

Category:bug report» support request
Priority:normal» critical

3 weeks and still nothing, any particular reason I'm being ignored again?

#4

Status:active» postponed (maintainer needs more info)

You're not being ignored. We just haven't run into the problem you're having. Seems fine in 6x. You can toggle the fullscreen option in the Embedded Media Field configuration.

#5

aye sorry, I just find it frustrating that the fullscreen button appears but doesn't do anything for just the Youtube videos.

Does the html source above look ok? What actually happens when the fullscreen button is clicked?

How can I go about trying to debug this? When I click the button and nothing happens I don't get any errors (on screen or Firebug) so I really do know where to go from here. Any other details that you need to know?

Any help appreciated.

#6

Priority:critical» normal

randomuser,

I too was fairly frustrated from our #-support conversation.

This feature works. Nothing you could tell me on IRC gave me any idea why it wouldn't work for you.

I'd suggest a base install, and using random YouTube videos, to test and compare. I know that's work, but... there's simply no other obvious way I can think of to help.

I am also deprioritizing from 'critical' to 'minor'. Please note that priority is a measure of how critical the issue is to the entire community; it is not meant to measure how critical it is to the submitter (though perhaps we should have that, in order to clarify things.

Sorry I cannot be of more help at this point. Good luck!

#7

I also have been frustrated by this feature not working - button shows but does nothing. I think I found out why:

Here is the code generated by emfield, which has the fullscreen button which does nothing:

<object height="478" width="580" type="application/x-shockwave-flash" data="http://www.youtube.com/v/64dUqMxxyjQ&amp;rel=0&amp;fs=1" id="video-cck-youtube-flash-1">
<param name="movie" value="http://www.youtube.com/v/64dUqMxxyjQ&amp;rel=0&amp;fs=1" />
<param name="allowScriptAcess" value="sameDomain" />
<param name="quality" value="best" />
<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" />
</object>

Now here, I've copied the code into a generic page body , added a param, and it works:
<object height="478" width="580" type="application/x-shockwave-flash" data="http://www.youtube.com/v/64dUqMxxyjQ&amp;rel=0&amp;fs=1" id="video-cck-youtube-flash-1">
<param name="movie" value="http://www.youtube.com/v/64dUqMxxyjQ&amp;rel=0&amp;fs=1" />
<param name="allowScriptAcess" value="sameDomain" />
<param name="quality" value="best" />
<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" />
<param value="true" name="allowFullScreen" />  </object>

I believe the fs=1 parameter makes the button appear and the param makes it function.

It would be great if you could make sure this param shows up in the generated code when the fullscreen option is set on in the YouTube config settings. I'm running 5.x-1.8 version of the module.

#8

I have hacked the emfield/contrib/video_cck/providers/youtube.inc file on my web site at line 320 right before the tag to include an extra line as follows, and it solves the problem:

          <param name="allowFullScreen" value="true" />

The module fix will need a conditional and perhaps a fix in other places?

#9

I was having the same problem in D5 and this solution worked for me!

Thank you for posting such a clear and helpful response to this!!

#10

Hmm. I was having the same problem when viewing YouTube videos using the JW Player.

I had to add this to line #492 in contrib/emvideo/providers/youtube.inc:

<param name="allowFullScreen" value="$fullscreen_value" />

Then it worked.

#11

i like #10 have the same issue with JW player. Could his fix be implemented?

//wow this issue is from january..

#12

Status:postponed (maintainer needs more info)» closed (won't fix)

Solutions seem available and this is a D5 issue. Closing, reopen if you need.

nobody click here