Products

Solutions

Resources

Partners

Community

About

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 ForumsMediaMediaHow to stop Video playback until user clicks playHow to stop Video playback until user clicks play
Previous
 
Next
New Post
1/11/2007 10:15 AM
 
Is it possible to not have the video playback start when the page containing the module is loaded?
 
New Post
1/12/2007 2:43 PM
 

Basically it's not an option, but if you want to mod the source so they dont autoplay the lines that need to be changed are in mediamodule.ascx.vb file.  About line 62 in the constants region.  Make the changes in bold.  and then recompile the dll.

Private Const WinMediaTag As String = "<embed src='{0}' {1} {2} {3} autostart='false' pluginspage='http://download.microsoft.com/download/winmediaplayer/nsplugin/6.4/WIN98/EN-US/wmpplugin.exe' type='application/x-mplayer2'>"

 

Private Const QuickTimeTag As String = "<object classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' codebase='http://www.apple.com/qtactivex/qtplugin.cab' {2} {3}><param name='src' value='{0}'><param name='autoplay' value='false'><param name='controller' value='true'><param name='loop' value='false'><param name='type' value='video/quicktime' ><param name='target' value='myself' ><embed {2} {3} pluginspage='http://www.apple.com/quicktime/download/' src='{0}' type='video/quicktime' autoplay=false controller=true loop=false target='myself'></object>"

 

Private Const RealMediaTag As String = "<OBJECT CLASSID='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' {2} {3}><PARAM NAME='SRC' VALUE='{0}'><PARAM NAME='CONTROLS' VALUE='ImageWindow'><PARAM NAME='CONSOLE' VALUE='one'><PARAM NAME='AUTOSTART' VALUE='false'><EMBED SRC='{0}' {2} {3} NOJAVA=true CONTROLS=ImageWindow CONSOLE=one AUTOSTART=false></OBJECT>"

 

Next time I'm working with the media module I'll make this mod and post the recompiled .dll to my site since I'm guessing some of you dont have the means to make the mod, but it isnt gonna happen today =] 

best wishes,

BentAngle

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMediaMediaHow to stop Video playback until user clicks playHow to stop Video playback until user clicks play


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