Subscribe 46

Media.js v0.6.0

Modification on the party of the user replaces links to a media content.

It is supported

video: YouTube, Vimeo, Rutube, Dailymotion, Metacafe, Sibnet, Facebook, Coub, Vine, VK, IGN, Twitch, Gamespot,,,,,, and direct urls for mp4, m4v, ogv, webm, webmv;

audio: SoundCloud, ZippyShare, PromoDJ, Mixcloud, Hulkshare, and direct urls for mp3, m4a, ogg, oga, webma, wav;

maps: Google Maps, Yandex Maps.


v 0.6.0 UPDATE FOR 0.5.7
For IE the method of creation of the <object> elements is changed.
For all browsers (and IE 9+) is used DOMContentLoaded event for script start.
The processed links receive the class mediajslink. It is possible to change display of such links through CSS.