Cartpauj & iComNow

Monday, May 12, 2014

WordPress › Audio / Video support in Core « Make WordPress Core

WordPress › Audio / Video support in Core « Make WordPress Core: "Shortcodes
MediaElement’s great, but we don’t want to be locked in to one external library forever. Instead of using MediaElement-specific markup everywhere, we expose audio and video markup through shortcodes: [audio] and [video].

For the following scenarios:

I have an old post that has a video in the Media Library attached to it, and I want to use the new shortcode: [video]
I have the URL for a video, from the Media Library or external, that I want to play:
[video src="video-source.mp4"]"



'via Blog this'

No comments:

Post a Comment