I'm trying to generate an M3U playlist file (series of line separated music resources) from a generated link, this works fine until the number of "characters" in the URL exceeds 2083 at which point IE refuses to play.
I thought I could code around this by adding a form which javascript fills and submits when the user asks for the playlist.
Expand|Select|Wrap|Line Numbers
- function submitPlaylistRequest{
- var pListForm=documet.getElementByID('playlistForm');
- pListForm.urls.value=urls;
- pListForm.submit();
- }
- ...
- <form name=doesOtherStuff>
- ...
- <a href="#" onClick="submitPlaylistRequest">Get this List</a>
- ...
- </form>
- <form id="playlistForm" method="post" action="/Playlist" target="_self">
- <input name=urls value="noneYet">
- </form>
So to the question, (at last), has anyone else encountered this and if so is there an established way of coding around it?
Thanks in advance, Skrynesaver.