Link to home
Start Free TrialLog in
Avatar of libertas11
libertas11

asked on

play audio and video files from url link

Hi first question on here, hope you can help

We have reports that our teams can access via a html link a example is below

http://188.227.186.141/uploads/test3_test3_EDI%20L2%20CERTIFICATE%20IN%20WAREHOUSING%20AND%20STORAGE%20(QCF)%20500-9960-7_test3_2015-08-30%20061948.html

in the report are audio, video, picture and text files and by double clicking on a file (or right clicking if you wish to choose to open in new browser window) the file should play.

Text files and pictues are fine but in video it plays in opera but no sound, and in chrome, firefox it won't play and audio does not work for video even in opera. Audio files don't work for opera, firefox or chrome.

The files are mp3 and mp4

I am guessing it is something to the browser settings and link to open media players on my computer but not sure

hope you can help copy paste the link above scroll to find files and you will see what i mean

It will be really great if you can help and tell me how i can get our teams to be able to play all files

thank you
Avatar of adamdalg
adamdalg

Maybe this helps you troubleshoot.  Everything works fine in Safari.
Avatar of Timoros
I just opened the page with Mozilla 40.0.3 and Chrome - File corrupted (both video and audio) !
Try uploading the files again and check again,

You should use video and audio ,ogg files or avi / mp3

Check out this compatibility chart
https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats
It all depends where and how you play the files. Seems you are trying it on a plain Windows machines, where the browsers themselves are never media players at all (unlike on most phones/tablets). If you always had the feeling they were media players, it's because most media are played with an HTML5 or Flash container. Since you don't use any special code (i.e. it's a flat file download now), your external players have to be in order.
Therefore, install VLC Media player on all computer, and have the mp3 and mp4 files associated with VLC player and you can't go wrong from there.
you need to set the mime-type (HTML 4)
<link type="audio/mpeg3" href="audiofile.mp3" Play an Audio File>
<link type="video/x-msvideo" href="videofile.avi" Play an .AVI File>
<link type="video/quicktime" href="quicktime..mov" Play a Quicktime File>
<link type="video/x-ms-wmv" href="WindowsMediaVideo.wmv" Play a WMV  File>
<link type="video/mp4" href="videofile.mp4" Play an MP4 File>
<link type="video/x-msvideo" href="videofile.avi" Play an .AVI File>

Open in new window

This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.