Play Module using JW Flash Player REQUEST...
Play Module using JW Flash Player REQUEST...
Hi, I recently have been playing around with the Play Module to put videos on my CMSMS site. I tried putting the JW Flash player on there, but I can't get it to load the flv files. I can embed the mediaplayer.swf file, but just can't get it to properly point to the flv files, sense they are not named flv files. Can anyone help me out with using the JW Flash Player in the Play module? Like, what template should I use? At this point, I don't really care about active x or anything. Thanks to anyone that can help!
Last edited by Gosha on Wed Mar 05, 2008 9:30 am, edited 1 time in total.
Re: Play Module using JW Flash Player REQUEST...
I would like to see an answer for this as well...
-
Ziggywigged
- Power Poster

- Posts: 424
- Joined: Sat Feb 02, 2008 12:42 am
Re: Play Module using JW Flash Player REQUEST...
I'm having the same issue. I'm using the 'Play' modules and CMSMS 1.2.4
Here is what I have in my template for the JW flvplayer:
The player loads OK, but it's having trouble finding the flv file. Looking at the source code, here's the uri it returns for file:
Which doesn't seem right. Is it because the {$file} tag is only meant to work with the Neolao player?
Here is what I have in my template for the JW flvplayer:
Code: Select all
<div id="player"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this movie.</div>
<__script__ type="text/javascript">
var so = new SWFObject('{$location}','player','{$width}','{$height}','7');
so.addParam('allowfullscreen','true');
so.addVariable('file','{$file}');
so.addVariable('autostart','false');
so.addVariable('overstretch','false');
so.addVariable('showvolume','true');
so.addVariable("backcolor","0x555555");
so.addVariable("frontcolor","0xffffff");
so.addVariable("lightcolor","0xd52b1e");
so.write('player');
</__script>Code: Select all
index.php%3Fmact%3DPlay%2Cm4%2Cplayfile%2C1%26m4recordid%3D1%26m4returnid%3D57%26page%3D57
Last edited by Ziggywigged on Fri Apr 04, 2008 11:44 am, edited 1 time in total.
Take a penny, leave a penny.
-
Ziggywigged
- Power Poster

- Posts: 424
- Joined: Sat Feb 02, 2008 12:42 am
Re: Play Module using JW Flash Player REQUEST...
Can anyone help with this?
Take a penny, leave a penny.
Re: Play Module using JW Flash Player REQUEST...
Hello,
The {file} tag is supposed to work with any Flash player. I don't have many free teim now, but I will try to find what's happening soon
The {file} tag is supposed to work with any Flash player. I don't have many free teim now, but I will try to find what's happening soon
-
Ziggywigged
- Power Poster

- Posts: 424
- Joined: Sat Feb 02, 2008 12:42 am
Re: Play Module using JW Flash Player REQUEST...
Ok, guys I finally got it to work for me. Here's what I've done:
Note: You'll have to specify the 'file' param for the FLVplayer which would be the same as 'Location' when adding a video. It's not the best fix but it should work.
Only problem is you'll lose the ability to apply specific params for each video. Not an issue for me since i'm using the same params for all videos. If you do apply params it will disable the video from playing.
Hope that helps some folks.
Code: Select all
<div id="player"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this movie.</div>
<__script__ type="text/javascript">
var so = new SWFObject('{$location}','player','{$width}','{$height}','7');
so.addParam('allowfullscreen','true');
so.addVariable('file','{$file}{foreach from=$player_params item=v}{$v}{/foreach}');
so.addVariable('showvolume','true');
so.addVariable("backcolor","0x555555");
so.addVariable("frontcolor","0xffffff");
so.addVariable("lightcolor","0xd52b1e");
so.write('player');
</__script>Only problem is you'll lose the ability to apply specific params for each video. Not an issue for me since i'm using the same params for all videos. If you do apply params it will disable the video from playing.
Hope that helps some folks.
Last edited by Ziggywigged on Fri Apr 11, 2008 3:02 pm, edited 1 time in total.
Take a penny, leave a penny.
