Forums

Registration

Click here to register. Registration is required if you want to post to the forums.

If you register, we can also contact you with news on new module versions, and upgrades to new modules as we make them available. 

Use of your registration information is subject to our privacy policy.

Inventua Forums

Subject: Any way to run FLVPlayer in DNN?
Prev Next
You are not authorized to post a reply.

Author Messages
robert huber
Posts:5

23 Oct 2005 6:51 AM  

From what I can see, you guys are the media experts when it comes to DNN.  Do you know of any methods to play flash movies that are packaged through flv files.  I've tried doing it by hand several times, but I haven't been able to get it to work.  The only way I've been able to do it is by placing the viedo in a separate html document, then using the IFrame control to bring it into the site... but I've been looking for a more integrated method.


Has anyone here ever tinkered with this?

Anthony Glenwright
Posts:11087

23 Oct 2005 1:05 PM  
Have you tried playing the FLV file using the Inventua flashplayer module?
robert huber
Posts:5

24 Oct 2005 5:30 AM  

Thanks for getting back to me.  Yes, I tried but nothing appears. 


But then, it could be a filepath problem.  With flv's, you have three seperate files working together (kind of a pain): the flv movie, the skin (an swf file), and the progressive download player (also an swf file).  Traditionally, these are intended to work together when they are all in the same directory as the 'HTML' document the movie is displayed on... which is kind of tricky with dnn.  I'm sure there's a logical way of doing it... but I haven't been able to figure it out yet.  I figured it was worth seeing if anyone here had any luck.

robert huber
Posts:5

24 Oct 2005 5:40 AM  

In fact, if it helps, a working example of an flv in an html document would look something like this (the key elements highlighted):


  <!-- Begin Flash Video for Progressive download -->
  <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="262" height="231" id="FLVPlayer">
    <param name="movie" value="FLVPlayer_Progressive.swf" />
    <param name="salign" value="lt" />
    <param name="quality" value="high" />
    <param name="scale" value="noscale" />
    <param name="FlashVars" value="&skinName=haloSkin_2&streamName=taxshare_lg256K_Stream001&autoPlay=true&autoRewind=true" />
    <embed src="FLVPlayer_Progressive.swf" flashvars="&skinName=haloSkin_2&streamName=taxshare_lg256K_Stream001&autoPlay=true&autoRewind=true" quality="high" scale="noscale" width="262" height="231" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> 
</object>
  <!-- saved from url=(0013)about:internet -->
  <!-- End Flash Video for Progressive Download -->

Anthony Glenwright
Posts:11087

24 Oct 2005 10:11 PM  
The Flash player module exposes the FlashVars property - so you should be able to populate it with the settings you need.  You may need to provide a full path to the skin and flv file.  If you can email me a demo of the three files (send a zip of them to support@inventua.com), I will do some experiments..
robert huber
Posts:5

25 Oct 2005 1:40 AM  
Thanks Anthony... I just sent you example files
Anthony Glenwright
Posts:11087

01 Nov 2005 11:36 AM  

I got it working - the main problem is that by default, IIS won't serve up .FLV files.  You have to go into the settings for your Web site/Virtual directory and add a MIME type entry for FLV files.  To do this:


1.  Open IIS Manager


2.  Find your virtual directory/web site, right click, select "Properties"


3.  Click the "HTTP Headers" tab.  In the tab, click the "MIME Types" button down the bottom.


4.  Click "New".  Enter extension .flv, MIME type video/x-flv.  Click OK.


Then, everything should work OK.  I copied the three files you sent me to a directory under /portals/0, and selected FLVPlayer_Progressive.swf as the movie, and entered &skinName=haloSkin_2&streamName=videoTest1&autoPlay=true&autoRewind=true as the flashvars, and it worked OK.


The first thing you're probably thinking is "why did it work from html"?  I think you'd find that if you uploaded the html file to a web server and accessed it from there, it wouldn't work (unless you did the steps above). But because you were probably testing locally, everything is done with local file access and not IIS...

Anthony Glenwright
Posts:11087

01 Nov 2005 11:39 AM  

PS:  A good reference for this was http://livedocs.macromedia.com/flash/mx2004/main_7_2/00001107.html


 

robert huber
Posts:5

02 Nov 2005 9:11 AM  

Thank you Anthony.  I haven't tried it yet, but it makes perfect sense.


When I was setting up FLV's in straight HTML, it was on a host, but I was doing it on another server that is already setup to run them for existing sites... and I completely forgot that when I first attempted that long ago, it wouldn't work there either until the host enabled the flv extension for me.


Thanks for getting me straight on that.


 

Will Ballard
Posts:3

10 Dec 2005 5:45 AM  

How do I get Inventua Flash player to let me pick a .swf file in the file picker?


Thanks.


WB

Will Ballard
Posts:3

10 Dec 2005 5:49 AM  
Sorry - typed too fast there. I meant to say .flv file in the file picker...
Will Ballard
Posts:3

10 Dec 2005 7:23 AM  

OK - so here's the skinny on .FLV


Yes - you must register the MIME type as stated in the above posts.


Yes - you must add the skin files and the FLVPLayer_Progressive.swf file in the same directory as the .fla


Here's the trick to using the inventua module.


The file you point the module at is the FLVPlayer_Progressive.swf file, NOT the .flv. You then pass the stream name with the reference to the .flv in the FlashVars section like this:


&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=/Portals/0/Video/Flash/CC-Flash-NOWATERMARK&autoPlay=false&autoRewind=false


In this case, the FLV file name was CC-Flash-NOWATERMARK.flv


My 2 cents.

Joseph Andrade
Posts:5

25 Jan 2006 6:36 PM  

ok boys.. what if you're doing a flash com server delivery of the flv using flash 8 player? 


My streaming movies played fine when made in flash mx.. but now 8 is out and they aren't showing...

Anthony Glenwright
Posts:11087

28 Jan 2006 2:50 PM  
I've just put up a BETA version that allows you to select the target flash version in the options page.  You can get it here:  http://www.inventua.com/dnn-flashplayer.content
T Brown
Posts:8

15 Jul 2006 8:17 AM  

I'm really glad that I found this post. Can anyone tell me if the FlashVar is still required to play the .flv? And is the skinName variable consistant to the media player or refer to another skin?

Thanks,Tamara

T Brown
Posts:8

15 Jul 2006 8:28 AM  
Sorry, the skin is the video player skin. Its late in the day....
Anthony Glenwright
Posts:11087

15 Jul 2006 10:43 AM  
The skinname flashvar will be specific to the video player swf file you are using - so you'll have to refer to the documentation for the swf you are using.
Shane Miller
Posts:14

21 Oct 2006 9:38 AM  
Where can I find the aforementioned file, FLVPlayer_Progressive.swf?
Anthony Glenwright
Posts:11087

21 Oct 2006 10:18 AM  
I think http://www.adobe.com/devnet/flash/articles/flv_tutorial_mx2004_print.html is the original source.

Also, try http://www.google.com.au/search?hl=en&q=FLVPlayer_Progressive.swf&btnG=Google+Search&meta=lr%3Dlang_en

There's a number of links, and some alternatives, too.
You are not authorized to post a reply.
Forums > Inventua Forums > DotNetNuke Modules/Components Support > Any way to run FLVPlayer in DNN?



ActiveForums 3.7