File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
application/modules/default/views/scripts/video Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 25
25
?>
26
26
<h1><?php echo $ this ->entryVideo ['name ' ];?> </h1>
27
27
<div id="videoarea">
28
- <?php echo $ this ->entryVideo ['embed ' ]['html ' ]; ?>
28
+ <iframe id="video"
29
+ src="https://player.vimeo.com/video/<?php
30
+ echo substr ($ this ->entryVideo ['uri ' ], 8 );
31
+ ?> ?byline=0&portrait=0"
32
+ width="720"
33
+ height="405"
34
+ frameborder="0"
35
+ webkitallowfullscreen
36
+ mozallowfullscreen
37
+ allowfullscreen
38
+ >
39
+ </iframe>
29
40
</div>
30
41
<div id="infoarea">
31
42
<h3>Uploaded on <?php echo date ('d/m/Y H:i ' , strtotime ($ this ->entryVideo ['created_time ' ]));
Original file line number Diff line number Diff line change 26
26
<h1><?php echo $ this ->entryVideo ->getSnippet ()->title ;?> </h1>
27
27
<div id="videoarea">
28
28
<iframe
29
+ id="video"
29
30
class="youtube-player"
30
31
type="text/html"
31
- width="640 "
32
- height="385 "
33
- src="<?php echo $ this -> strScheme ; ?> ://www.youtube.com/embed/<?php echo $ this ->entryVideo ->id ; ?> "
32
+ width="720 "
33
+ height="405 "
34
+ src="https ://www.youtube.com/embed/<?php echo $ this ->entryVideo ->id ; ?> "
34
35
frameborder="0"
36
+ allowfullscreen
35
37
>
36
38
</iframe>
37
39
</div>
You can’t perform that action at this time.
0 commit comments