Results 1 to 2 of 2

Thread: embed pls link

  1. #1
    Join Date
    Nov 2007
    Posts
    53

    Question embed pls link

    Is it possible to embed a pls link in javascript?

    I tried this but doesnt seem to work, what can i do?

    Code:
    function Play () {
    		var path = '<embed src="http://www.link.com/music.pls" autostart="true" loop="false" hidden="true" height="0" width="0">';
    		document.getElementById (file).innerHTML = path + '<img src="images/stop.gif" style="cursor:pointer;" onclick="Stop(' + "'" + file + "'" + ')">';
    		}
    		function Stop (file) {
    		document.getElementById (file).innerHTML = '<img src="images/play.gif" style="cursor:pointer;" onclick="Play(' + "'" + file + "'" + ')">';
    		}
    	</script>

  2. #2
    Join Date
    Nov 2007
    Posts
    53
    Think its impossible, but it should be possible to play .pls or .asx, any ideas?

Similar Threads

  1. embed site snapshots
    By 957 in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 01 Oct 2010, 07:04 AM
  2. youtube embed non-op in IE and Opera + more
    By ode2theoddible in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 16 Sep 2010, 03:46 PM
  3. How to embed YouTube login
    By ydovid in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 30 Dec 2009, 12:29 AM
  4. embed a dictionary?
    By jangoforhire in forum Tutorials
    Replies: 0
    Last Post: 14 Aug 2009, 01:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •