Last modified: 2011-03-02 10:07:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29820, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27820 - Add support for video embedding
Add support for video embedding
Status: NEW
Product: Utilities
Classification: Unclassified
PhotoCommons (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-02 09:38 UTC by Hay Kranen
Modified: 2011-03-02 10:07 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Hay Kranen 2011-03-02 09:38:55 UTC
It would be nice to include the <iframe> embedcode for videos in PhotoCommons as well. 

<iframe src="http://commons.wikimedia.org/wiki/File:Folgers.ogv?withJS=MediaWiki:MwEmbed.js&embedplayer=yes" width="240" height="180" frameborder="0"></iframe>

Needs some cross-browser testing and checking if videos are returned in the search results.
Comment 1 Krinkle 2011-03-02 10:07:45 UTC
And for the same reason we use shortcodes for images, the iframe code should be generated indirectly via a shortcode so that the <iframe> code isn't hardcoded in the post.

Perhaps detect from the filename if it's a video or introduce a seperate shortcode

ie.
[photocommons file="Folgers.ogv" width="240" height="180"] (as for images, internally switched for iframe-vid or img-tag))

or a seperate shortcode:
[videocommons file="Folgers.ogv" ... ]

--
Krinkle

(see also bug 27821)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links