Here’s what to do if you want to play movies with ‘JWPlayer’ on your pages.
I’ve had help from people on this discussion forum and from very friendly people at Freeway. Thank you all. So this is for you people like me who don’t know enough about coding to do these ‘simple’ things.
Download and use ‘Handbrake’ to encode your videos as: H264 mp4
Go to: Learn More | JW Player
-
Uncheck the two options (‘Keep me informed …’ and ‘Include Viral …’)
Download the player - its in a zip file called ‘mediaplayer.zip’.
Open the zipped folder on your desktop and leave it for a while. -
Go to Freeways Actions: http://www.actionsforge.com/actions
Search for the Action ‘Upload Extra Resource’ and download it.
On your desktop open the Action and allow it to be installed into Freeway. -
Open your website on the page you want to have your video.
Go to ‘Page’ menu – select ‘HTML Markup’
In the dialogue that opens insert this code below:
(in the section: Before )
- When you have done that go to menu ‘Insert’ and select ‘Markup Item’ and paste this into the box:
You change the various options in the above code to suit what you want for your video. First of all change /replacewithnameyourvideo to the actual name of your video. You can also change the instruction after ‘controlbar’: ‘autostart’: ‘volume’: ‘repeat’: ‘width’: ‘height’:. Change them to suit your video and what you want it to do.
Have a look at the ‘Wizard’ page for JWPlayer to learn about the options:
http://www.longtailvideo.com/support/jw-player-setup-wizard
-
Select the Markup Item you have now put on the webpage. Attach the Action ‘Upload Extra Resource’ to the Markup Item.
-
In the Action options, select the top arrow: ‘In Resources Folder’. For No. 1 select your video – wherever it is on your computer. For No. 2 select, navigate to the ‘mediaplayer’ folder you downloaded at ‘Step 1’ above. Select the file ‘jwplayer.js. For No 3 select from the same ‘mediaplayer’ folder the file ‘player.swf’.
-
Now Preview the video playing in your Freeway page. I hope it works for you.
Inserting more than 1 video on 1 page:
If you want to play 2 videos on the same page then you need a slight change to the code at Step 4 above. Where you see the word ‘mediaspace’ (twice) change it to ‘mediaspace2’ in both places. If you have 3 videos on one page change the word to ‘mediaspace3’, etc.
Also: you only have the code for the Page in HTML Markup once on the page (besides its already there from the first time you did it).
When you attach the Action ‘Upload Extra Resource’ to the 2nd or 3rd Markup Item (for the 2nd and 3rd videos) only choose the video for ‘In Resources Folder’ (Don’t select the files ‘jwplayer.js and ‘player.swf’ – you have already choose them to be uploaded for the 1st video and you don’t need two of them).
I hope I’ve not made any mistakes in the above and they are clear instructions for you.
GT
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options