Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.86 KB

simple-embed.md

File metadata and controls

25 lines (17 loc) · 1.86 KB
layout title
default
Simple Megaplaya Embed -

Simple Megaplaya Embed

This is an embed using no javascript. Scroll down to look at the code. If you don't plan on doing anything more than just embed the player we highly suggest you use the universal embed instead

This player adds comma-separated list of video URLs to the player.

http://community.vhx.tv/embed/megaplaya.swf?videos=http://vimeo.com/25584378,http://www.youtube.com/watch?v=btV6M2xDe38

And here's the actual HTML we used. When you update the code, be sure to update the url in both places.

<script> $(document).ready(function() { $('#embed_code')[0].innerHTML = "".replace(/'/g, '"'); }) </script> <textarea class="field" id="embed_code" onclick="this.select()"> </textarea>