add Ox.js, parse url

This commit is contained in:
j 2013-02-12 19:00:50 +05:30
commit 59114ed01d
3 changed files with 260 additions and 1 deletions

View file

@ -50,7 +50,7 @@ function getVideoOverlay(page) {
var iframe = document.createElement('iframe');
iframe.width = '100%';
iframe.height = '100%';
iframe.frameborder = 0;
iframe.setAttribute('frameborder', '0');
iframe.id = 'video' + page + id;
iframe.src = getEmbedURL(iframe.id, videoOverlay[page][id]);
div.appendChild(iframe);