- Skill level:
Other People Are Reading
Proceed to the next section if you already have the JW Player. Otherwise, visit JW Player download page at Longtailvideo.com
Click the "Download Now" button. A pop-up window prompts you to save the ZIP file containing the JW Player and other required files.
Click "Save," and then click "OK" to save the ZIP file to your hard drive.
Locate the file after it downloads and double-click the file to unzip its contents to a folder. Remember the name of that folder and its location on your hard drive. This is where you will save a copy of your HTML Web page document.
Install JW Player
Navigate to Longtail.com's "Setup Wizard" page. Click the "Select an Example Setup" drop-down box to display a list of options.
Click "JW Player with a YouTube Video," and then click "Embed Parameters." Two text boxes appear named "Height" and "Width." Default height and width values appear next to those text boxes. If you wish to use other values as the dimensions for your JW Player, enter different height and width values in the appropriate text boxes. These values are in pixels.
Click the "Colors" and "Layout" links if you would like to tweak the player's colours and visual style. After clicking those links, drop-down boxes and text boxes appear that allow you to choose your desired colours and layout style.
Click the "Colors" and "Layout" links to tweak the player's colours and visual style. After clicking those links, drop-down boxes and text boxes appear that allow you to choose your desired colours and layout style.
Click "Behavior," and then click the "Autostart" drop-down" menu. Click "True" to make the player start when your Web page loads. Otherwise, click "False."
Open another browser window or tab, and navigate to YouTube's website. Double-click the name of a video you would like to add to the JW Player. The video plays.
Click "Pause" and locate the "Address" box at the top of your browser where you type URLs. This box contains the video's URL.
Copy that URL using your mouse and return to the LongTail Video *. Click the "File Properties" link, and paste the URL you copied into the "File" text box. That URL looks similar to this one:
Click "Update Preview & Code." The site displays a video player. Click the "Play" button to preview your YouTube video. Locate the "Copy Your Code" text box below the player. Use your mouse to copy that code to the Windows Clipboard.
Launch Notepad or your HTML editor and open one of your Web page documents.
Save the document in the same folder that contains the JW Player files. This is the folder containing the files you unzipped in Section 1.
Open that folder, and double-click your HTML document. Your browser opens and displays the JW Player. If you chose the "Autostart" option during configuration, your selected YouTube video plays. Otherwise, click the "Play" button to watch your video.
Upload your HTML document and the following three files to your Web server when you are ready to place your page on the Internet: player.swf, jwplayer.js and swfobject.js. When site visitors visit your Web page, they will be able to view the JW Player and play the YouTube video.
Add to Web Page
Tips and warnings
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for