I am trying to play audio after a touch on my website using audio element but the audio file is on aws cloud front. The audio is audible on Desktop Chrome but I cannot hear it on iOS Safari .
Do they permit it , if yes then is there a config file that we need to create ?
To answer your titled question: yes mobile Safari does allow to play cross domain HTML5 audio (just tested it again on my iOS7 iPad). Though there has been report it is not working well with CORS attribute.
You could try to wildcard CORS on CloudFront. Maybe this can help you.
Are you able to plug your iOS device on a Mac to use Safari debug console for iOS? If so there could be error showing up in the logs.
Related
I am using below versions:
Protocal: HTTPS (SSL)
Chrome Vesrion: 55.0.2883.87 m (64-bit)
Adobe Flash Player Plug-in Version: 24.0.0.186
Issue: When I am trying to play a flash video over SSL on chrome browser, its not playing the video content. The browser just loads the first initial screen and does not proceed further to play the content of the video.
I could not reproduce this issue in other browsers like IE 11 and Firefox 45.4.0
In chrome, its working fine over HTTP protocol.
I am not sure of what causing this issue whether its browser, flash player plug-in or protocol issue.
Can you please help me out in this?
Thanks.
Just change the link to the shockwave/flash document adress to https.
Android Chrome V(50.0.2661.89) has webRTC support. So i'm trying to set up Webrtc call between Mobile chrome browser and Desktop. All works good. But on Android mobile (Samsung S4, all event few more brands). audio output is coming on both Ear piece and External speaker. I could not control the output audio to playback only on Ear piece. Like normal mobile calls.
<audio> tag has ability to set playback device id by using this HTMLMediaElement.setSinkId(sinkId).then(function() { ... }) but in mobile chrome its not enabled.
If it try to get all media devices. it gives only 1 kind audio output as default. I know this possible in native android app, But did anyone succeed in getting this playback control on mobile browser? Please post your comments if you have any idea on this.
I've attached by mobile chrome console for reference.
I can play NASA's m3u8 HLS transmission or Apple's sample m3u8 feed quite easily on Google chrome on a windows 7 64-bit desktop machine. But when I try to play my own m3u8 file in chrome by serving it through my nginx server it gets downloaded as a VLC file and I have to start VLC separately to play it. I can play the same file on a MAC using safari and on iPhone without problems.
I know playing my own m3u8 on chrome should work since NASA's m3u8 HLS transmission works fine on chrome. What am I doing different?
Appreciate any help/pointers.
See this bug report
https://code.google.com/p/chromium/issues/detail?id=54198
it seems like they don't plan on implementing it
They are considering mpeg-dash as an alternative
currently I am trying to host some videos embedded with html5 video-tag. The focus for this is to provide it (as far as possible) browser- , flash- and OS- independent.
I embedded webM, mp4 and ogg versions to provide maximum browser-coverage.
It works perfectly for iOS, Mac and Windows with multiple browsers.
However only Linux (tried Firefox and Conqueror) is refusing to play the videos. The error message displayed is that the MIME-types are not supported.
The solution i found so far is to add those MIME-types via a .htacces-file. Unfortunately there is at the moment no possibilty to use a .htaccess on the server and the Flash-fallback is not called because Firefox actually supports the video-tag.
My question is if there is any other way to provide those information allowing browsers on Linux to play the videos?
Is there any way via extension / hack / or otherwise to play an m3u8 video from google chrome? I'm having some trouble getting the official word on m3u8 support, though I'm pretty sure its unsupported.
I'm working on a video player with live playback (using flash for standard browser apps) so I'm using m3u8's to get everything working on mobile, but the debugging tools on mobile leave a lot to be desired. I was wondering if there was any workaround to getting these videos to work so I could use the browser debuggers. (I'm on windows 7).
There's a new appendBytes/sourceBuffer proposal in the spec, and I saw a chrome evangelist mention that there was a beta implementation in chrome canary. With that you would have to write a ton of javascript to read the m3u8 file, get the video segments, parse the data, and push them into the media element manually. I'm guessing that's more than you want to do for testing.
What you probably want is something like Weinre.