env - mobile Chrome Beta (68.0.3440.23)
to the above serve html5 video.src with :
Content-Type: application/vnd.apple.mpegurl
body of m3u8 that you see in devtools.network screenshot below
Playback is OK. However, as shown in screenshot, the native player control bar is missing the 'options' icon normally seen in lower right , just to the right of the fullscreen icon.
Issue - not able to figure out why native player decides not to include the options icon. I need options because i want to be able to 'caste' the playback to a TV with a chromecast.
Note on the content of the m3u8 shown in attachement . It is created on the server ( not a static m3u8 ). When static m3u8's are played, the control bar DOES CONTAIN the options icon.
But i do not see the error in the m3u8 thats being sent in the attached screenshot.
Unless something has recently changed (which is of course very possible...), mobile Chrome does not support casting from the browser for videos.
You can see this in some Google Chromecst online info, for example, if you switch between the 'Computer' and 'Android' Tab at this link:
https://support.google.com/chromecast/answer/3228332?hl=en&ref_topic=4602553&visit_id=0-636651854499397401-528434718&rd=1&co=GENIE.Platform%3DAndroid&oco=1
It may be that the option bar appears for static m3u8 because the player allows seeking with that format but not with dynamic m3u8s - i.e. the option bar may still not include the ability to CAST.
Related
I am retrieving tweets via the Twitter api and attempting to embed their video attachments.
Embed Code:
<video controls="">
<source src="https://video.twimg.com/ext_tw_video/1444247208514113546/pu/vid/1280x720/6rw0rzMWMSk39eoz.mp4?tag=12" type="video/mp4">
</video>
Firefox:
The above code fails to render the video player altogether in firefox, choosing instead to simply return: No video with supported format and MIME type found.
Note: There is no issue in playback when the video url is entered directly into the address bar.
Chrome:
Chrome spontaneously stops playback after 0-4 seconds, returning to the first frame. This behavior is somewhat sporadic, occurring sometimes, but not always. When it does occur, no matter how many times the play button is pressed, the video is unable to progress any further. Once a video is in memory and has been successfully loaded by refreshing the page, it no longer behaves in this way. Like firefox, there is no issue in loading or playback if the video url is entered directly into the address bar.
Video demonstration:
Some more examples of twitter videos to play with:
Many site issues such as the No video with supported format and MIME type found error can be caused by corrupted cookies or cache.This can cause streaming problems in any browser
Firefox Solution:
I suggest you Clear the Cache and Remove Cookies in your settings
Warning ! ! This will log you out of sites you're logged in to.
To do this enter about:preferences in the url bar.
To clear Cookies: Select Privacy under History, then select Firefox will Use Custom Settings. Press the button on the right side called Show Cookies, then use the search bar to look for the site. There may be more than one cookie in use for this site. Remove All of them.
To clear cache: Select Advanced > Network. Across from Cached Web Content, Press Clear Now.
If there is still a problem, Start Firefox in Safe Mode {web link} While you are in safe mode;
Then restart.
Chrome solution:
At the top right, click the More button
Navigate to More tools > Clear browsing data .
At the top, choose a time range. To delete everything, select All time.
Next to Cookies and other site data and Cached images and files, check the boxes.
Click the Clear data button.
When trying to publish stream to Ant Media Server from web browser, chrome shows weird timing values, on the other hand firefox shows correct value.
This is basically a browser related and client-side issue because it basically just plays stream that is returned by getUserMedia
I mean the rounded area in the image below. I've tried setting currentTime of the video object in JS but no luck. Is there way to let chrome start from zero?
As I am using a browser and playing some movies or content on the browser. I got a idea why not play a static player in the browser which plays youtube video or any other website videos which is supporting this option.
player not dependent on web page a static page.
support drag and drop to any place on the browser.
even when we click on other pages the static page should play and remain constant.
try to support all the players which are running on the browser.
and please this is just an opinion from my side.
If there is any browser or software supporting this feature let me know here
Advance thanks
Add this 2 extension for chrome browser
Floating Player
Picture in picture for your browser
It is a small achievement.
I am trying to play a video streamed by a third party using the HTML5 video player in Chrome Mobile, the problem I am facing is that the video can play for some time while it's minimized and after a while it decides to quit and return a MEDIA_ERR_SRC_NOT_SUPPORTED - audio/video not supported error; the problem happens much faster when I switch from minimised to maximised then back to minimised over and over again. It also seems to happen faster if I continuously tap on the video itself, I have also hidden the default controls and use my own custom ones.
What could be causing this issue ? I try the same thing in Safari with the QuickTime player and the video feed does no die
EDIT: Did some more digging around and found this:
Android HLS video mime type
I receive a playlist m3u8 file but my request link does not have m3u8 in it whatsoever but should the video even be playing if the m3u8 keyword isn't there ? I am also testing this on an android 4.4.4
Specifying the correct MIME type is worth a try. However, there's one other thing that caught me out (with iOS anyway): check that the server hosting the video supports 206 Partial Content requests correctly. I posted about debugging this issue here.
If your using FireFox and getting the SRC not supported, I went threw the codes on some of the players at sites I like to view, I found that the Adobe Flash Player will solve the Problem, FF uses the VLC plugins, but with the current updates on FF with the VLC on HTLM5 players you might get a SRC error code, you need the Adobe Flash Player.
I have searched your error code on internet and i have found this:
MEDIA_ERR_SRC_NOT_SUPPORTED (4) The media resource specified by src
was not usable. MEDIA_ERR_SRC_NOT_SUPPORTED
(5) The encrypted media
stream could not be played. This is because of one of the following
conditions: A key was not provided and a onmsneedkey handler was not
provided The provided key could not be applied. Decryption is not
supported for this media data.
Source
So I would say you initialize src wrong.
NOT recording using webcam or microphone...
But record (and also save) the video that is currently streaming or playing in the browser.
This works for not-live videos from youtube and the like: Use browser developer tools. For example firefox web developer tools network tab open go to the page and look for the get respond that has return type of video/* (video/mp4 in youtube) right click on it and select open in new tab and then just use browser's save (CTRL-S) to save the video. I believe this to work similiarly in chrome.
Use developer tools of your browser to see all network traffic and save the video stream.