Name: Anonymous 2010-12-25 20:02
I'm writing a basic streaming video downloader as an extension for Google Chrome and I'm trying to get the src url from an embedded object that plays a video using JavaScript.
I can get the <object> by doing document.getElementById("videoplayer"); but that's about as far as I can get. The embed doesn't have an ID or name, unfortunately. The object has several <param> tags and one of them is named "src" and it's value is the url I need. I've tried everything.
My first time trying to write anything JavaScript related. I'd appreciate any help you can offer.
I can get the <object> by doing document.getElementById("videoplayer"); but that's about as far as I can get. The embed doesn't have an ID or name, unfortunately. The object has several <param> tags and one of them is named "src" and it's value is the url I need. I've tried everything.
My first time trying to write anything JavaScript related. I'd appreciate any help you can offer.