I need some help with getting video source

in Ideas and script requests
Subscribe to I need some help with getting video source 4 posts, 2 voices



kovezett User
FirefoxWindows

I'd like to replace the Silverlight player with WMP on these pages: http://videotar.mtv.hu/.

Please, help me to get the video source.

Thank you in advance.

 
JoeSimmons Scriptwright
FirefoxWindows

var embed = document.getElementById("divPlayer").getElementsByTagName("embed")[0].

 
kovezett User
FirefoxWindows

Thanks but I can't do it. I don't find embed tag on the page source and the video url is in a script:


var VideoItemID = '{BA316E7B-C88E-48A6-987C-019DF9EFFCCC}';
var addelay = 10000;
$(document).ready(function() {
setTimeout(function() {
System.insertVideo('divPlayer', 'http://streamer.carnation.hu/mtvod2/memento/2009/11/27/memento_091127.wmv', 425, 318, 1, 'http://videotar.mtv.hu/~/media/Images/Hirado/2009/11/27/22/bscap041.jpg_425x273.ashx', 'Memento ยด89| 2009. november 27.');

$('div#divPlayer').css('background', 'url(http://audit.median.hu/cgi-bin/track.cgi?uc=' + median_Index + '&dc=1&randTS=' + Math.floor(Math.random() * 1000000) + ')');
$('div#divPlayerImage').hide();
}, addelay);
});

I'm not a programmer, so let me ask you to complete for me this simple script. I have no intention to publish it here, it's only for my personal use. Thank you for your time and effort.

var width = 500;
var height = 400;

var player = document.getElementById('Playing');

if(player) {

var src =

player.innerHTML =
'<embed src="' + src + '" height="' +height + '" width="' + width + '">';

 
kovezett User
FirefoxWindows

For some reason I'm not able to insert the end of the script to the previous post:

'autoplay="true" ' + 'stretchtofit="true" ' + 'volume="20" ' + 'type="application/x-ms-wmp">';
}

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel