Commit Graph
3 Commits
Author SHA1 Message Date
Guru Prasad Srinivasa b5092c338c Added new configuration option 'handlers'
This option allows developers to attach their custom handlers
before internal plyr's handlers. This should enable developers
to have full control over all the buttons including the ability
to stop event propagation if desired.
2016-01-14 03:01:51 -05:00
Guru Prasad Srinivasa 533bd173b2 Updated API function 'plyr.source()' to get media source
Currently, there is no simple way of acquiring media source.
This commit updates the 'source' API function to allow developers
to acquire the video source regardless of whether the video
is a youtube-embed or HTML5 video.

Future embeds just need their respective URL fetching code added
to this common function.
2016-01-13 17:19:19 -05:00
Guru Prasad Srinivasa be8b4d2735 Fixed embedded Plyr not updating plyr.media.paused 2016-01-10 12:46:56 -05:00