Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class QuicktimeViewer extends EmbeddedContentViewer {
- protected function getHtml($item, $full) {
- return '<video width="640" height="360" controls>
- <source src="'.$this->getContentUrl($item).'" type="video/mp4" />
- </video>';
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement