Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Media Module [L...  How to disable the play event during start up
Previous Previous
 
Next Next
New Post 11/29/2006 3:15 AM
User is offline lasitha
3 posts
10th Ranked


How to disable the play event during start up 

when the module initially starting  i need to disable it by playing .. how can i do that in the media module, where i need to modify? please help me.. thanks..

 

 

 
New Post 12/23/2006 10:30 PM
User is offline Bent Angle
34 posts
10th Ranked


Re: How to disable the play event during start up 
 

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>"

 

 

best wishes,

bentangle

 
New Post 1/14/2007 1:01 AM
User is offline Declic Video
903 posts
declic-video-fx.com
7th Ranked


Re: How to disable the play event during start up 
 BentAngle wrote
 

{...} Make the changes in bold.  and then recompile the dll.{...}

 

How do you "recompile the dll" ????

DV

 
New Post 1/14/2007 1:38 AM
User is offline Sebastian Leupold
14290 posts
www.deutschnetnuke.de
1st Ranked












Re: How to disable the play event during start up 
Modified By Sebastian Leupold  on 1/14/2007 5:39:41 AM)

you need to open the solution in Visual Studio 2003, do the changes and hit compile. afterwards you can distribute the .dll file to any other installation or repackage the module, as described in the DNN3 module developers guide, that is included in the documentation package.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 2/5/2007 1:23 PM
User is offline Jos Richters
58 posts
www.visualdata.nl
10th Ranked


Re: How to disable the play event during start up 

Hi, my question:

Why don't you put these paramaters in the SETUP?

The module works fine, but it's annoying to have to shut down all MP3 tracks when you want to show a set of music fragments....

You just want the user to select the music part he/she wants to hear! Not all of then at once!


jos Richters www.visualdata.nl
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Media Module [L...  How to disable the play event during start up
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl
FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com
Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP