<div dir="ltr"><div>The line about server resources was unnecessary I guess, Since I wasn't asking him to host it and it occurred to me a bit later that hosting the video himself will be phoning home.<br><br></div>But if video is tiny and he really wants to embed it then bundling it and using html5 video tag will negate the need for iframe. Pointing it out purely for academic purposes.<br>
<div><br> <br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 3, 2013 at 12:37 AM, Otto <span dir="ltr"><<a href="mailto:otto@ottodestruct.com" target="_blank">otto@ottodestruct.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Srikanth, that would make the theme needlessly large, and we have a<br>
size limit on themes in the repository. There's nothing wrong with<br>
including content from YouTube or Vimeo or some common video provider<br>
code and the like. These are commonplace and frequently used.<br>
<br>
The concern about including third party resources such as with iframes<br>
is primarily related to privacy and tracking, and also security. If<br>
you were including an iframe linking to your own site, then that would<br>
be a concern because you would be getting back information about who<br>
used your theme and on what sites. If you were including JS code from<br>
your site, then you could change that code and potentially "hack"<br>
other sites with it.<br>
<br>
Themes should load resources all from themselves and not from the<br>
theme author's sites. Including code from very widely used<br>
third-parties, where you're not receiving anything like tracking info<br>
and such, I would personally find okay.<br>
<br>
But I would question the wisdom of including this sort of thing as an<br>
embedded video on, say, a theme options page. Not everybody has super<br>
high speed connections, and mobile use is becoming a lot more<br>
prevalent. It might be best to hide the videos behind a normal clicked<br>
link, or to make a wholly separate page for them. In fact, you might<br>
consider not putting those video embeds in the theme at all, but<br>
instead having some kind of help link back to your own site for<br>
viewing them. This way, changing the videos and the help information<br>
and such doesn't actually require updating the theme every time. A<br>
normal link to your own site for help and information and other such<br>
things is perfectly acceptable.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Otto<br>
</font></span><div class="im HOEnZb"><br>
<br>
<br>
On Tue, Jul 2, 2013 at 1:40 PM, Srikanth Koneru <<a href="mailto:tskk79@gmail.com">tskk79@gmail.com</a>> wrote:<br>
> @Greg, If your theme is html5, simply bundle the video(mp4, webm, ogg) along<br>
> with the theme, use the new video tag and for its source use <?php echo<br>
> get_template_directory_uri(); ?>/location/video.mp4<br>
> That way you won't have to worry about burning your bandwidth and server<br>
> resources.<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div></div></blockquote></div><br></div>