Flash Video Player Instructions

Derive These Quality Video Meshes OR Add Your Own Mesh To The Base 

To use your own list of movies and searches instead of the one that comes built in to the player…

1. Save this file to your desktop or somewhere easy for you to work with it, you might need to right click the link and “save link as”:
                                        HEYouTube.xml (3.5 KB)

1.1. (Optional) You can also use this file to customize the developer info area on the player:

                                        developerInfo.xml (169 B)

2. Open that file in notepad or other suitable text editor and look at the format and syntax examples.

3. Add movies and searches to your liking:

“HE YouTube Playlist format.  I’ve abbreviated the XML tag names.  This may cause some confusion but I will document it here so you understand how things link together.

The Main tag within the YouTube.xml file looks like this:

<z L=”0″ T=”m”>
 <n>Red Cliff HD Clip 1 – John Woo Film</n>

Between the opening and closing tags <z> </z> is one entry in the Custom Play list.  If XML is confusing for you, please Google a tutorial to familarize yourself with XML.   It’s really not hard to use and its very popular and versitile.

The tags and what they mean:   <z> … </z>  is just a complete line entry for the playlist.  The good stuff
resides beween these tags.

L=”0″ –  L stands for level,  level 0 is the main level of the custom menu.   All things on level “0” will show first.    Some items can link to other levels.

T=”m”  –  T stands for type,  There are 5 types of datum (good stuff). Type T=”m” = YouTube MovieClip.  Type T=”d” = default MovieClip (startup movie).  Type  T=”l” = Link to another level, when clicked it will load the XML for a different level.  “s” Live Youtube search link will get 50 movies from a youtube search.   Type T=”a” = same as “s” search but no additional tags will be added to the link, this is required for some restricted search pages, like Todays new videos etc.

Lets begin with an example playlist and a simple structure.

Maybe you are making a MusicVideo Player for a Club !

And You want to group music by catagories,  Start with the main menu:  L=”0″  Level “0” is always the first level we start with.

Example of our first xml entry below:

Just a simple do nothing message.  reloads level 0 … Displays a message at the top of the list.  Remember the main menu list is  level L=”0″ …   T=”l” Type = link to another level.  The text beween the <n> … </n> tags will be displayed on the line,  when clicked it will change levels.  It will change levels too the level between the <d> tags.  This is a link,  taking us to another group of links on layer “0” (the main level again, so we didn’t go anywhere, but we did display a Welcome message on the top line.

<z L=”0″ T=”l”>
 <n>Welcome to da Club</n>

 On to someting more useful.  Lets create a level “1” or “Rock” or “fred”, that will have some preselected Songs and a youtube search.

When someone clicks on this line of the menu it will take them to level “1”.

<z L=”0″ T=”l”>
 <n>HE Rock our with your …… out</n>

Anywhere in the XML file can be the following lines.  When the computer searches the XML it will look for all the L=”1″ tags and process them for the Level “1” menu.   First come first server, in order.   But they could come before L=”0″ tags or after, the order only effects how all L=”1″ are ordered, it ignores all other XML within the XML file.   So here we have 4 MovieClips, T=”m”  (type = movie clips.   The movie clips contain a YoutubeID in the data tags, the <d> </d> tags.   A youtube movie ID is 11 characters long,  lower and uppercase letters , numbers,  and – (minus) and _ underscore characters are used by YouTube.

When you look up a MovieClip on youtube, look at the link to a MovieClip,  The movie must be able to be Embedded.  If on the YouTube page says Embed:  Embedding disabled by request,  you won’t be able to play it outside of YouTube.com.  This happens on some bands copyrighted material, not all.  This is an example of one that is restricted:  http://www.youtube.com/watch?v=mzX0rhF8buo

Here is the 4 movieclips on layer “1”  L=”1″

<z L=”1″ T=”m”>
 <n>Rock Song 1</n>
 <d> YOUTUBEID </d>
<z L=”1″ T=”m”>
 <n>Rock Song 2</n>
<z L=”1″ T=”m”>
 <n>Rock Song 3</n>
<z L=”1″ T=”m”>
 <n>Rock Song 4</n>

These examples of YouTube webpage links, show the YouTube Video ID’s.  11 characters after the “v=” data.


We can add any of these 4 songs as the default video by changing its type.  T=”d”  type = default

We can add some search links too to level “1”

Lets add a link for songs by Queen.  “q=” is for Query Add tags you want to find, and – (minus) things to exclude from the search.

<z L=”1″ T=”s”>
 <n>Classic Rock – Queen</n>

There is no limit to the number of MovieClips, Search lines or levels  you can add.

If for some reason your search doesn’t produce results try the T=”a” type.  Some searches appear to have limits.   You can manually test your youtube search links in your normal browser.

<z L=”1″ T=”a”>
 <n>YouTube Most Popular Videos</n>

4. Save and close the file, do not change the name or type, keep it somewhere handy to use in previewer.

5. If you haven’t already, choose one of these quality video products to derive:
Derive These Quality Video Meshes OR Add Your Own Mesh To The Base

6. Do all your normal deriving stuff, textures, opacities and what not.

7. Use button #5 in the picture below to open the product asset folder and drop the HEYouTube.xml file into it before saving and submitting. (and the developerInfo file if you have chosen to use it)
8. Click the ‘Apply’ button and continue with your normal submission process.

9. If you have any questions please post a comment bellow and we will try to help.

Derive These Quality Video Meshes OR Add Your Own Mesh To The Base