-
Notifications
You must be signed in to change notification settings - Fork 6
Youtube plugin
cbara edited this page May 22, 2013
·
1 revision
- Reference Name: YoutubePlugin
- Code Source:
youtubeplugin.coffee - Compiled Source:
youtubeplugin.js
- Generates widgets that embed one YouTube video linked through the annotated YouTube video URL
- Tthe expanded widget has the dimension of 600px X 450px ( only one video)
- The expanded widget contains a video area (superior part) which runs youtube videos automatically
- LDPlugin,
- The plugin reacts to annotated YouTube video URL.
- Simple widget composed of: a button with a red youtube icon and a the concept label (overwritten by user, or DBpedia
rdf: label) - The expanded widget contains one video embedding:
*
- This plugin will attach the rendering logic of the widgets in the
becomeActiveevent handler of each annotation that contains a YoutTube video URL in its resource field.
- Each widget binds activate events to 'click' events and will trigger a widget expansion.
- Expanded widgets close when 'clicking' the close (X) icon at the top left hand side of the expanded widget.
- The video area embeds a YouTube player. All YouTube player interaction is available, except the player re-sizing.
- Each widget binds activate events to 'tap' events and will trigger a widget expansion.
- Expanded widgets close when 'tapping' the close (X) icon at the top left hand side of the expanded widget.
- The video area embeds a YouTube player. All YouTube player interaction is available, except the player re-sizing.
- Each widget binds activate events to 'OK' events and will trigger a widget expansion
- Expanded widgets close when pressing the 'BACK' button
- The video area automatically plays its assigned video source.