In reply to Otto&#39;s comments about oEmbed:<br><br>Perhaps one could come close to getting auto-adjusting media widths with that tool, but it is still static adjusting. If you shrink a standard browser view, I don&#39;t think the video window will shrink responsively. It would seem that the $content-width will not dynamically change with a shrinking window. On the other hand, my theme based YouTube shortcode will, as well as providing other specific YouTube control parameters.<br>
<br> And isn&#39;t there only one instance of $content-width? What about a situation where the user wants a video in both the content area and a sidebar or header or where ever? Will the oEmbed still work? My theme based version does because it knows exactly which &lt;div&gt; the shortcode is being used from theme based knowledge.<br>
<br>While in theory this specific example might possibly have theme independent implementations, I still believe the example supports my point that there are some shortcodes that can really benefit from a theme&#39;s specific &quot;knowledge&quot;, and thus are appropriate tools to provide with the theme.<br>
<br>Bruce Wampler<br><br>&gt; So here, you&#39;re mistaken. You don&#39;t necessarily need to have a special<br>&gt; shortcode for handling youtube videos, or any other videos that are<br>&gt; supported by oEmbed. All you have to do is adjust your $content_width<br>
&gt; to one that is appropriate for the device. Then the built in embed<br>&gt; mechanisms will handle it just fine.<br>&gt; <br>&gt; -Otto<br>