JW Longtail Player embedding YouTube videos?

I have several YouTube videos embedded in my site using the normal YT player. I downloaded the JW player 5 to use instead of the standard YT player so I can have the control bar appear over the video image only when it’s moused over.

In the JW set up Wizard I previewed a YouTube video, it was exactly what I wanted. I copied the code dropped it in my page using “insert markup”, then sized the box to match the video size. In preview nothing, in the browsers nothing. All files downloaded from JW as instructed went into the resource folder. Flash 9 is installed in all my browsers.

Either I am doing something wrong or Freeway 5 has a problem rewriting the code from JW. Does anyone have any solutions to this problem?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

All files downloaded from JW as instructed went into the resource folder

Did you manually place these files in the FW Resource folder?

If so when you published/uploaded the site FW will have thrown these babies out with the bath water.

Dont mess with the contents of the Resources folder - FW is in charge here and ignores stuff it hasn’t put there itself.

If you have files that you need to get to the server either use one of the actions like Upload Stuff or manually FTP them to your site (but not the Resources folder). You will also have to make sure that your Markup code points to the correct file location.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

David,
Thanks for the tip re Freeway 5 and it’s “Modus Operandi”. I will try doing it as you suggested with the action upload stuff. I am a bit confused on how I can check if the JW player scripts work as the files will not be in my FW folder on my mac in order to preview to see if they work. Will I have to upload my site each time to test if the JW player works?

Russ


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you use Upload stuff then FW, using the action, will put the files where they need to be - just make sure that your Markup code points to the correct file location.

With Upload Stuff you can have files placed in either the Resources folder (Resources/yourfile.mov) or with the html files (yourfile.mov)

If you are not sure then post your existing Markup and we will have a look.

If you use 4 tildes (~) before your code and the same after it will look something like this

Your code here /Resources/yourfile.mov

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

And yes you will be able to preview without uploading.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Dave

I have uploaded the JW longtail required files to my site. They are in the resources folder. I embedded the code for the YT video I want. When I preview I get a correct sized blue screen on the page, no video. JW’s instructions are: “Embed the player in your HTML page with the lines of code below. Note: If you place the files in different directories, make sure to set the references in this code accordingly.” How to write the reference that point to the file in the resources folder I do not know how to do. This is the script that produces a blue box:

Russ
˜˜˜˜

The player will show in this paragraph

<embed
src=‘player.swf’
width=‘600’
height=‘340’
bgcolor=‘undefined’
allowscriptaccess=‘always’
allowfullscreen=‘true’
flashvars='file=http://www.youtube.com/watch?v=E8myOT0zVxE&start=7&controlbar=over&dock=false&autostart=true&icons=false’˜˜˜˜


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Did you use Upload Stuff to put your files on the server?

If so then try changing the destination to: Upload to HTML location

Your code is looking for swfobject.js, player.swf and video.flv alongside your HTML page and they are not there!

Are there any other files that you uploaded.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I used Upload Stuff sent to the HTML location, just three files, swfobject.js player-viral.swf and yt.swf. Still just getting a blue image. No other files uploaded.

Russ


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Post a link to your page and we can see the code.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Looking again at your code there are other files referenced there (player.swf and video.flv) - are you sure you don’t need them as well?

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Dave,

Here is the link to my page.http://www.landfalls.net/csslistvideos.html

When the page is open go to the center image that’s captioned ANTIGUA The Carib House. The video button is the link to the video page with the JW player. In the CSS menu under Antigua you will find the same video which is a YouTube embed. You will see I have a layer over the control bar. This is the effect I want, but when seeing it on a windows machine with a Firefox browser the control bar breaks through the black layer and looks a horrible mess. On macs with Safari and Firefox all is the way it is suppose to be. On my mac I tried it on Netscape and Opera 9.62 same thing as windows machines it bleeds through the top layer. So I have a big problem as the biggest market segment is PC 94% with about 80% using IE 7 or 8 and Firefox. If I can get the JW player to work my site should be good to go, then I can start chasing my clients for ad bucks. I really dislike the YT control bar. I looked into YT APIs and the Chromless player that could work but for me a graphics and print publisher guy that learning curve looks very time consuming.

Russ


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Dave,

I checked the page source on that page, the problem is in red.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Is this what it should look like?

http://www.deltadzine.net/caribhouse.html

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Dave,

That’s it perfect! What was I doing wrong and how do I do it correctly? My internet connection is slows slow tonight. I’m on the island of Carriacou, Grenada BWI only one service provider here.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Slightly revised since last post!

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Insert>Markup item - then paste in this code and size to suit

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="640" height="360">
		<param name="movie" value="player.swf" />
		<param name="allowfullscreen" value="true" />
		<param name="allowscriptaccess" value="always" />
		<param name="flashvars" value="file=video.flv&image=preview.jpg" />
		<embed
			type="application/x-shockwave-flash"
			id="player2"
			name="player2"
			src="player.swf" 
			width="640" 
			height="360"
			allowscriptaccess="always" 
			allowfullscreen="true"
			flashvars="file=http://www.youtube.com/watch?v=E8myOT0zVxE&start=7&controlbar=over&dock=false&autostart=true&icons=false" 
		/>
	</object>

Upload stuff action - all these files to be uploaded to HTML location

That is player.swf, preview.jpg, swfobject.js, video.flv and yt.swf

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I only have player-viral.swf, not player.swf tha’s what I got with the download from JW. The longtail 5 player. Is this a problem?

Russ


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Your code didn’t work for me. The link below I think explains the issue with paths to the player-swf.

Russ


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Well the Longtail download I got did contain the player.swf - I can forward it to you if you like.

Or you can get it here http://www.deltadzine.net/mediaplayer.zip

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

So if you just upload the player.swf to your site you should be fine (use all the files from that folder rather than the ones you have already just in case there are any differences).

BTW you should change the preview.jpg to be an actual preview of your own video.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options