summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorrit Schippers2012-11-03 15:20:26 (GMT)
committer Jorrit Schippers2012-11-03 15:20:26 (GMT)
commitb2f6f50a15769c9823e0da5c726d2af705a3ca15 (patch)
treee9f17c69c17e5a6c88db4711fdeb863294da428f
parent8f157a633c8494f1f4769f3e2abf6488b68ea333 (diff)
Properly encode video URLs.
-rw-r--r--theme/videojs.tpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/videojs.tpl.php b/theme/videojs.tpl.php
index b19c66f..131e8c2 100644
--- a/theme/videojs.tpl.php
+++ b/theme/videojs.tpl.php
@@ -15,7 +15,7 @@ if (!empty($poster)) {
if (!empty($items)): ?>
<video id="<?php print $player_id; ?>-video" data-setup="{}" class="video-js vjs-default-skin" width="<?php print($width) ?>" height="<?php print($height) ?>" controls="controls" preload="auto"<?php echo $attrs; ?>>
<?php foreach ($items as $item): ?>
- <source src="<?php print(file_create_url($item['uri'])) ?>" type="<?php print check_plain($item['videotype']) ?>" />
+ <source src="<?php print check_plain(file_create_url($item['uri'])) ?>" type="<?php print check_plain($item['videotype']) ?>" />
<?php endforeach; ?>
</video>
<?php endif;