Commit 4a15aa8f authored by Nigel McNie's avatar Nigel McNie
Browse files

Open links to external video sites in new windows, so people don't lose their position.

parent 1ee525e6
......@@ -163,10 +163,10 @@ class PluginBlocktypeExternalvideo extends SystemBlocktype {
private static function get_html_of_supported_websites() {
return <<<EOF
<ul style="list-style-type: none;">
<li><a href="http://www.youtube.com/"><img src="http://www.youtube.com/favicon.ico" alt="YouTube"> youtube.com</a></li>
<li><a href="http://video.google.com/"><img src="http://video.google.com/favicon.ico" alt="Google Video"> video.google.com</a></li>
<li><a href="http://www.teachertube.com/"><img src="http://www.teachertube.com/images/favicon.ico" alt="TeacherTube"> teachertube.com</a></li>
<li><a href="http://www.scivee.tv/"><img src="http://www.scivee.tv/favicon.ico" alt="SciVee"> scivee.tv</a></li>
<li><a href="http://www.youtube.com/" target="_blank"><img src="http://www.youtube.com/favicon.ico" alt="YouTube"> youtube.com</a></li>
<li><a href="http://video.google.com/" target="_blank"><img src="http://video.google.com/favicon.ico" alt="Google Video"> video.google.com</a></li>
<li><a href="http://www.teachertube.com/" target="_blank"><img src="http://www.teachertube.com/images/favicon.ico" alt="TeacherTube"> teachertube.com</a></li>
<li><a href="http://www.scivee.tv/" target="_blank"><img src="http://www.scivee.tv/favicon.ico" alt="SciVee"> scivee.tv</a></li>
</ul>';
EOF;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment