I downloaded able player, an accessible cross browser audio and video player from https://ableplayer.github.io/ableplayer/
Before downloading, I played some examples from github pages to see it in action with my screen reader. It works very fine, with internet explorer 11, google chrome and firefox.
So, i downloaded it and copied it in my localhost server. I use wamp server, apache, php and mysql.
Before playing from my localhost, I added on my .htaccess in root folder, all AddType directives suggested by able player github page.
When I try to play examples in demo folder, with internet explorer, my screen reader doesn't see audio player region and I can't play anything.
With google chrome, I can play, but I can't see playlist elements managed by able player.
So, I tried to make my own audio player without using ableplayer, without css, simple html5.
Now, I tried to play it with and without apache.
By opening index.html with internet explore, it sees audio region and play mp3.
If I point to localhost, where I put index.html, I can't see anything.
So I believe apache is the problem, but in apache log I can't see any error.
Does Some one has a suggestion? Something to modify in my .htaccess?
Thanks!
I solved! Definitively was apache. I downloaded an .htaccess from github that works fine. Now I can play audio and video.
Related
I'm trying to write a python script to record and save segments of a live stream for research purposes. I know how to do it for mainstream platforms such as YouTube, but I'm not sure how to do it on this site.
Here's the video link:
http://cwwp2.dot.ca.gov/vm/loc/d3/hwy80atdonnersummit.htm
Thanks for your help!
Its not "recording" a video its just downloading. That site uses HLS. Any HLS downloader should work. But you need to get the URL form the m3u8 file.
Start by viewing the network tab of the browser, and the sites source code, You can then see how the browser plays it, then develop your script from that.
I have an audio file I'm trying to serve from a directory within a ASP.NET MVC Web Api Project. For some reason the file refuses to play in Safari or mobile browsers. I can use every other browser to play this file.
What's driving me nuts is that if I just create a Virtual Directory and add the file there then navigate to it like /NewSite/song.m4a it will play fine in safari and mobile.
I thought maybe my web.config was screwing something up so I tried creating another Web Api project hosted in IIS and I still cannot play the audio file in Safari or mobile browsers in the new app.
I've done everything I can think of. I have the mime type added to my site. Other browsers like firefox and chrome play the file fine.
Has anyone seen this behavior? I'm going insane here.
I seriously wasted an entire day on this.
My IIS server is using a self signed cert. I was trying to load the audio file through https.
apparently every other browser is cool with this except Safari and mobile browsers.
I changed the src attribute to be http instead of https and safari started working as well as my iOS simulator.
This is the first time I am working with Azure website. I have successfully deployed my website into Azure website cloud hosting space. Everything is working pretty fine, and as desired. But I am facing issues in my video page. Am providing 2 urls, hosted in the same location.
http://masan.azurewebsites.net/video/demo.html
http://masan.azurewebsites.net/video/demo1.html
First video is playing (.mp4), after adding the necessary mimeMap tag in my web.configfile. First demo.html contains a video being called from an external url.
Second video in demo1.html (.mp4) contain video hosted in the same server as the page, which is not playing.
Could somebody please guide me, what should I do to make my second page to also start playing the .mp4 video
Thank you
Sorry to bother you all, there was no issue only, since the video in demo1.html was of wrong format, it was not playing.
So the answer to the above is: Just need to add the mimeMap tag in web.config, will work seamlessly. Thank you.
I have made a site with a password protected directory and
inside is simple html page with link to mp4 video file located inside directory.
When logged into to directory Android device such as Samsung Galaxy S2 or Blackberry Playbook fail to open this video file. On desktop , IE and FF work fine.
this is response from host:
"It appears this is a limitation of the browsers in mobile devices being unable to use the authentication that has already been completed to fetch the video file using the embeded player. After investigating in depth I am unable to get any other player to play video on my mobile device if it is behind a .htaccess password protection since the requests for the actual video file are being denied with 403."
So what is solution to play Mp4 behind htaccess on mobile device?
I am guessing one way to do it is that the link should be not to the file directly but should trigger a small module that will give permissions to the file for the client ip that has just connected then redirect to the file. The permissions can be retracted sometime later. But it feels messy and am not really sure if this is scalable at huge traffic levels.
I have a client that has a website. The website current allows users to login and search for and play .mp4 video. The list of playlist is created dynamically where values are stored in a sql server 2008 database. My client's site is already built for smartphone utilization and did not want to recreate an iphone app. Besides it would mean loading thousands of video. Instead I thought I would use the UIWebview to load the website. This seemed to work well. However, when you try to click on and play video within the UIWebview nothing happens. This is not the case if we launch the mobile website within the apple mobile safari browser. The vide plays by kicking off in the iPhone video player. Is there any way to accomplish this same functionality with a uiwebview? Any guidance or help is appreciated.
UIWebView will play video using <video> if everything is set up correctly, either remote files or local files will work (if they are the correct format).
What does your video tag look like? In particular your src.
If you want to, for example, play an inline video the html5 for that would be something like
<video id="theVideo" controls width="280" height="160" src="yourVideo.mp4" webkit-playsinline></video>
And it would be necessary in the UIWebView to set this line
self.webView.allowsInlineMediaPlayback = YES;
Or you can also explicitly load the media player, but doing everything in HTML5 is neat and tidy and easy.