richard22j at zoho.com
Thu Jan 11 04:24:18 PST 2018
From: Rochford, Steve
Sent: Thursday, January 4, 2018 3:43 PM
>>>What's harder (impossible?) to see is whether the server might have
>>>offered you a Flash video in other circumstances but has chosen to send
>>>you an HTML5 one because it thinks that suits your browser/platform
>>That is where my knowledge breaks down. I have no idea what the code to
>>decide whether to offer Flash or HTML5 looks like.
>From my limited experience, the webserver is going to look at the user
>agent string. If you send a string which identifies your browser as one
>which can render HTML5 then that's >what you'll get including in-line
>video; if your browser is identified as an older browser which can't cope
>with HTML5 then you'll get (eg) Flash video.
My user agent string seems to be
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101
It is not obvious from that string that the browser supports HTML5, so there
must be some sort of lookup table. I have now found what HTML5 video should
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
The text is only displayed if the browser does not support the <video ...>
As of yesterday, video clips in The Times now play in Firefox. It would
have been interesting to compare the working version with the old. I have
searched the page for <video and <source, but they are probably behind the
As for Alastair's clip, the consensus seems to be that it is returning Flash
because Flash is the only type the clip supports. Is it correct for the
page to begin with a
tag if it does not support HTML5 video?
On a slightly different note, to avoid confusion to anyone reading the
archive I ought to qualify the suggestions I made earlier in the thread.
1. I suggested using the Convert/Save function of VLC. At that time I had
not tried it. When I did I could not get it to work. It seems VLC needs
additional help to play RTMP streaming.
I have not tried what is suggested in that blog because it seems a lot of
2. I successfully downloaded Alastair's clip by restoring rtmpdump.exe to
the utils directory and running get_iplayer v2.99 with --tvmode flashvhigh.
More information about the get_iplayer