Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMediaMediaRe: Problems with Youtube video under DNN 6.01Re: Problems with Youtube video under DNN 6.01
Previous
 
Next
New Post
1/30/2012 12:59 AM
 

Finally a solution. THANK YOU FOR THE INFO!!!!

Now, having said that, I still have a minor issue. Just downloaded Media 4.02.00 and appending ?wmode=opaque to the src URL works great using YouTube's standard embed code. If, though, you select YouTube's clear the check box for "Show suggested videos when the video finishes", it adds a ?rel=0 to the end of the URL in the src field. This seems the incompatible with adding ?wmode=opaque in the Media module. I've tried appending ?wmode=opaque to ?rel=0 and I've tried placing it before ?rel=0, but the menu still comes up behind the video.

Specifically...

YouTube's standard embed code (suggested videos display at end)
<iframe width="420" height="315" src="http://www.youtube.com/embed/-SLnJaqpP1c" frameborder="0" allowfullscreen></iframe>

YouTube's embed code with "suggested videos" turned off
<iframe width="420" height="315" src="http://www.youtube.com/embed/-SLnJaqp..." frameborder="0" allowfullscreen></iframe>

Working code using YouTube's standard embed code (menus above video)
<iframe width="420" height="315" src="http://www.youtube.com/embed/-SLnJaqp..." frameborder="0" allowfullscreen></iframe>

Failing code using YouTube's code to not play suggested video (ver 1)
<iframe width="420" height="315" src="http://www.youtube.com/embed/-SLnJaqp..." frameborder="0" allowfullscreen></iframe>

Failing code using YouTube's code to not play suggested video (ver 2)
<iframe width="420" height="315" src="http://www.youtube.com/embed/-SLnJaqp..." frameborder="0" allowfullscreen></iframe>

Is there some problem with the way I'm trying to add the "?wmode=opaque" to YouTube's code that doesn't display related videos or this this something that is not currently supported?

If this is not currently supported, it would be really nice to be able to stack these parameters in the Media module. If I'm creating the code in error, please help with a correction.

Thanks,
Robert

 
New Post
1/30/2012 11:24 AM
 

There appears to be more research required on this one. I don't have an answer for you right now.  I will create an issue in the module for this.  If you don't choose any embed options that append their own URL parameters, this should work fine.  I would suggest manually adding your URL parameters in the meantime.

[EDIT]
Here's the new issue for this forum thread.
[/EDIT]


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
1/30/2012 3:17 PM
 

you need to be passing "?wmode=opaque&rel=0"  -  the ? is not a separator in a url - only the & is regarded as a separator

The ? in a url tells the server that what follows are parameters which need to be separated by the letter &. 

"?wmode=opaque?rel=0"  is  sending the value  -    wmode = "opaque?rel=0"  - when what you want to send is wmode="opaque" and rel="0"

Westa

 
New Post
1/30/2012 6:09 PM
 

After some further research I figured out the problem of not being able to restrict YouTube from playing related videos and using "?wmode=opaque" to display the menus on top of the video...

If you want to prevent YouTube from showing related videos when yours finishes, they append "?rel=0" to then end of the URL. This conflicts with "?wmode=opaque" which keeps the video from appearing on top of everything else. I was wrong in trying to just concatinate them together such as "?rel=0?wmode=opaque". It should be "?rel=0&wmode=opaque".

So, my intended embed code would be...

<iframe width="420" height="315" src="http://www.youtube.com/embed/-SLnJaqp..." frameborder="0" allowfullscreen></iframe>

Thanks to all those that offered suggestions and especially Thanks to the developers!
--Robert

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMediaMediaRe: Problems with Youtube video under DNN 6.01Re: Problems with Youtube video under DNN 6.01


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out