Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jawngee/jw-player-drelated-plugin
Fixes and patches for the D-Related JW Player plugin
https://github.com/jawngee/jw-player-drelated-plugin
Last synced: 19 days ago
JSON representation
Fixes and patches for the D-Related JW Player plugin
- Host: GitHub
- URL: https://github.com/jawngee/jw-player-drelated-plugin
- Owner: jawngee
- Created: 2009-06-07T14:12:49.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-06-08T00:03:05.000Z (over 15 years ago)
- Last Synced: 2025-01-19T22:13:47.658Z (23 days ago)
- Language: ActionScript
- Homepage:
- Size: 786 KB
- Stars: 4
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
D-Related plugin allows you to load in list of the related clips in XML format and display them to the audience when the movie is complete or paused. Plugin's look and proportsions are fully skinnable.
How to use?
To use the plugin in your player, add the name d-related to the plugins flashvar.
To display correctly, the plugin needs path to the related clips XML. This is set with the flashvar called drelated.xmlpath.
XML contains the tag and items. element contains the explaining text displayed in the plugins header (eg. Related videos:)
Related videos:
- name of the clip to display in the plugin
- link to the thumbnail
- link to guide the viewer to when the clip is clicked
- The url to the file to play if the d-related plugin is in dynamic mode
Your can modify the plugin by setting the following flashvars:
* drelated.xmlpath
The URL of the related XML* drelated.position
By default the plugin positions itself to the top of your player, but can also be positioned bottom or center by setting the dposition flashvar to 'bottom' or 'center'* drelated.skin
Plugin is fully skinnable and is set up from the following elements:Bg - the large semitransparent layer that's stretched to exact same size and video
Cover - the smaller semitransparent layer to bring out the thumbrow and controls;
shuffle_left, shuffle_right - buttons to scroll the thumbrow to the left or to the right
infoelement - MovieClip containing textfield with the title for the clips shown
template - VideoitemTo set up your own skin, place the bits and pieces to the skin file's stage and give the movieclips instancenames according to the listing above.
* drelated.target
where should the new clip open - in a new window or same window. Default is '_self'* drelated.height_offset
Pixel offset for the top of the container background* drelated.dynamic
Will load the clicked video into the current player. You must pass in element through the related.xml file.Notes:
The container should now correctly resize itself when toggling fullscreen, or resizing the player through some other means.