https://bugzilla.wikimedia.org/show_bug.cgi?id=66143

--- Comment #20 from Tilman Bayer <tba...@wikimedia.org> ---
(In reply to Bawolff (Brian Wolff) from comment #18)
> > 
> > Yes, it was changed as a workaround for this bug last week. But that's
> > actually the way we most often use for videos on the blog (e.g.
> > https://blog.wikimedia.org/2014/05/26/happy-birthday-ward-cunningham-
> > inventor-of-the-wiki/ ) - with basically the same HTML as MediaWiki uses on
> > wiki pages, via a conversion script
> > (https://meta.wikimedia.org/wiki/Wikimedia_Blog/
> > Converting_wiki_pages_to_blog_posts ). One advantage is that this allows to
> > select the still image to be displayed, via the thumbtime parameter, which
> > afaik isn't possible with the iframes (is there a bug for that?).
> 
> I don't think there's a bug for that, but its been on my mind that there
> should be a method of specifying the thumbtime via iframe.
> 
> Copying the html is fine, however you need to copy it when using a video of
> size 800px (or full size if the video < 800px). Otherwise you get the html
> which opens a popup dialog box, which won't work as well when just copying
> the html.
> 
> i.e. If the html looks like <div id="mwe_player_0"
> style="position:relative;display:inline-block;width:700px;height:394px"
> videopayload="...
> 
> Then copying the html will result in an image with a play button which links
> to the original file for download.
> 
> If the html looks like:
> 
> <div class="mediaContainer"
> style="position:relative;display:block;width:800px"><video...
> 
> Then the video will play in browser using native html5 browser support
> (Assuming you have a browser that supports ogg or webm).

Thanks for these very informative comments! I added some of that to
https://meta.wikimedia.org/wiki/Wikimedia_Blog/Guidelines/How_to_post#Method_1:_Reusing_the_HTML_that_embeds_a_video_on_wiki_pages
.

However, when I tried this out, reusing the <div class="mediaContainer" ...
HTML (from this wiki page:
https://meta.wikimedia.org/w/index.php?title=Wikimedia_Blog/Drafts/A_Look_Back_at_Wikimania_2013&oldid=9276912
) in a separate HTML page, it did not work correctly - the box displays nicely
and the video starts playing in the browser (Chromium), but only in low quality 
(160p, I guess) instead of the highest possible resolution for this div.

This might be more appropriate for a separate bug - in that case, sorry for the
offtopic discussion.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to