I have a asx video link that probably failes to be embedded because the link to the file doesn't end in .wmv or .asx or some other recognized file ending.

http://webbtv.tv4.se/webtv/metafile.asx?MSG=vGmrNWKQ4muUkiHVDy9kmPkfVLC3...(1fkPO7vMhhrFdeFCV)DzU6R)W5NlZiafXp5jcQCpWsmQqCceKMT5vG4BswLNC0KkM3ZLOjsylPZjQCf65nIbuqtNCN5Ids0L7uE8orIkWh177hMRzpohLDk(Psb0gfeHOnzw93HwHuvHKaQsLRyVp(VmpgjY1R0wbG9e6n9Iy3DMTXs8(vOYA!&test=6

^^There's an example on a link that works when I embed it manually with the code below:

<object data="http://webbtv.tv4.se/webtv/metafile.asx?MSG=vGmrNWKQ4muUkiHVDy9kmPkfVLC3IdxTzhwlFTaZJjeli3l4ecucJ(1fkPO7vMhhrFdeFCV)DzU6R)W5NlZiafXp5jcQCpWsmQqCceKMT5vG4BswLNC0KkM3ZLOjsylPZjQCf65nIbuqtNCN5Ids0L7uE8orIkWh177hMRzpohLDk(Psb0gfeHOnzw93HwHuvHKaQsLRyVp(VmpgjY1R0wbG9e6n9Iy3DMTXs8(vOYA!&test=6" type="video/x-ms-wmv" width="425" height="339" style="margin: 0px; padding: 0px;"> <param name="ShowStatusBar" value="0"> <param name="src" value="http://webbtv.tv4.se/webtv/metafile.asx?MSG=vGmrNWKQ4muUkiHVDy9kmPkfVLC3IdxTzhwlFTaZJjeli3l4ecucJ(1fkPO7vMhhrFdeFCV)DzU6R)W5NlZiafXp5jcQCpWsmQqCceKMT5vG4BswLNC0KkM3ZLOjsylPZjQCf65nIbuqtNCN5Ids0L7uE8orIkWh177hMRzpohLDk(Psb0gfeHOnzw93HwHuvHKaQsLRyVp(VmpgjY1R0wbG9e6n9Iy3DMTXs8(vOYA!&test=6"> <param name="autostart" value="0"> <param name="stretchToFit" value="1"> <param name="volume" value="1"> <PARAM NAME="ShowAudioControls" value="1"> </object>

I suggest a possible solution when it can't identify the file type: When you have tried to submit and it can't determine the file type by the file ending a dropdown select box will show up near the video input field where you manually can select what embed method/code to use. This way novice users don't get something that they don't understand and people who know what they are doing can just select the correct filetype and whatever is in the input field is inserted as the data=""

Comments

aaron’s picture

Assigned: Unassigned » aaron
Status: Active » Postponed

not working on custom url bugs till after d6 release -- i'll put a note in the project page that support for that option is still experimental.

thanks for your ideas.