I have been playing around with the video in WP3.6 core and have read various threads.
I have set up a wrapper as indicated on other threads that scales to full width and height. Within that I am playing the video.
The first piece of HTML works fine. But when I use the shortcode for WordPress:
do_shortcode('[video webm="http://localhost/dnp/stalker.webm" width=100%]');
It doesn't scale.... I have tried width=100%, height=100% and combinations thereof.
What am I missing?
margin: 0 auto;
<!-- Using HTML5 scales perfectly :) -->
<video id="myvideo2" style="width:90%;height:100%;" controls="controls">
<!-- Just a webm file for firefox -->
<source src="http://localhost/prototypes/mediaelement/stalker.webm" type="video/webm"/>
<!-- This doesn't :( -->
echo do_shortcode('[video webm="http://localhost/dnp/stalker.webm" width=100%]');