I would like to embed Dailymotion videos using the media template method.
I have created a new media templete and called it /templates/default/media/
dmt.htmlI have put in the embed code that will play the dailymotion video
<!-- Template file for DailyMotion -->
<object width="425" height="355" />
<param name="movie" value="{media_src}"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowScriptAccess" value="always"></param>
<embed type="application/x-shockwave-flash" src="{media_src}" width="425" height="355" allowfullscreen="true" allowscriptaccess="always">
</embed>
</object>
My problem is when I add the "media_src" when adding a new image eg.
http://www.dailymotion.com/swf/video/xhwuvu.dmtIt does not work, because Dailymotion does not need the file extension. Example .dmt
It only works if the file is like
http://www.dailymotion.com/swf/video/xhwuvu --- without the .dmt file extension at the end.
is there a way to add new media that doesn't need a file extension?