The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Mar 11, 2011 9:17 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Dec 11, 2010 6:57 pm
Posts: 197
Location: Brussels, Belgium
Hello everyone,
I have a media page on my website which includes a youtube video and a sigplus gallery.
But when I click on a picture to view it larger, the youtube video is still above it.
Check here:
http://www.ec-random-attacks.com/index.php/media2

For the youtube video I use the youtube plugin for Joomla! 1.6:
http://www.heinelt.info/index.php?optio ... info&id=71

Anyone knows how to fix this?

Thanks!


Top
 Profile  
 
PostPosted: Sat Mar 12, 2011 3:59 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Thu Aug 18, 2005 2:09 am
Posts: 5154
Location: California
.
Flash by default floats above the page (above everything else).
To put Flash in the page like other elements, the wmode=opaque setting must be added to the embed code.
So the YouTube plug-in must be modified.

.

_________________
██ AllMedia4Joomla Project
██ http://sourceforge.net/projects/allmedia4joomla/
██ AllMedia YouTube Feed Gallery module released
██ Download: http://sourceforge.net/projects/allmedia4joomla/files/


Top
 Profile  
 
PostPosted: Sat Mar 12, 2011 6:40 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Dec 11, 2010 6:57 pm
Posts: 197
Location: Brussels, Belgium
kenmcd wrote:
.
Flash by default floats above the page (above everything else).
To put Flash in the page like other elements, the wmode=opaque setting must be added to the embed code.
So the YouTube plug-in must be modified.

.


Where exactly? Just as parameter for the youtube video?


Top
 Profile  
 
PostPosted: Sun Mar 13, 2011 7:37 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Dec 11, 2010 6:57 pm
Posts: 197
Location: Brussels, Belgium
Ok, it works now.

Thanks for your help!


Top
 Profile  
 
PostPosted: Sat May 14, 2011 5:35 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat May 14, 2011 5:32 pm
Posts: 2
Can you please explain how and where you embedded the wmode parameter as I am having the same issue with sigplus and another simple youtube module (http://www.joomshaper.com/joomla/free-e ... ube-module)

This module creates either a Flash or HMTL5 (for iOS) so I guess the wmode applies only to the Flash version (the default one) but since I am coding-illiterate I don't know where and how to do it.

Code:
<iframe title="Simple youtube module by JoomShaper.com" id="sp-simple-youtube<?php echo $uniqid ?>" type="text/html" width="<?php echo $width ?>" height="<?php echo $height ?>" src="http://www.youtube.com/embed/<?php echo $youtube_id ?>"frameborder="0" allowFullScreen wmode="opaque"></iframe>


Adding the wmode there does not make a difference

Thanks!


Top
 Profile  
 
PostPosted: Sat May 14, 2011 8:39 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Thu Aug 18, 2005 2:09 am
Posts: 5154
Location: California
.
When using the YouTube Iframe embed method the wmode setting must be passed in the URL.

For example, this
h##p://www.youtube.com/embed/Lc791is6X0o
has to be changed to this
h##p://www.youtube.com/embed/Lc791is6X0o?wmode=opaque

So your Iframe embed code would need to be changed to add that "?wmode=opaque" to the SRC.

For example:
Code:
<iframe
  title="Simple youtube module by JoomShaper.com"
  id="sp-simple-youtube<?php echo $uniqid ?>"
  type="text/html"
  width="<?php echo $width ?>"
  height="<?php echo $height ?>"
  src="http://www.youtube.com/embed/<?php echo $youtube_id ?>?wmode=opaque"
  frameborder="0" >
</iframe>


I have no idea why allowfullscreen is present in the Iframe tag in your example code.
It does not do anything there.
.

_________________
██ AllMedia4Joomla Project
██ http://sourceforge.net/projects/allmedia4joomla/
██ AllMedia YouTube Feed Gallery module released
██ Download: http://sourceforge.net/projects/allmedia4joomla/files/


Top
 Profile  
 
PostPosted: Sun May 15, 2011 1:03 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat May 14, 2011 5:32 pm
Posts: 2
It works great!
As far as the allowfullscreen, I think it came from the module (unless in a desperate attempt to fix the issue I was having I copied a chunk of useless code...)
Thanks everyone


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 



Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group