Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
musica_listas_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
musica_listas_backend
Commits
50f0a564
Commit
50f0a564
authored
Aug 20, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prueba plugins
parent
8d3e1d0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
25 deletions
+1
-25
templates/test/index.html.twig
templates/test/index.html.twig
+1
-25
No files found.
templates/test/index.html.twig
View file @
50f0a564
...
...
@@ -39,28 +39,8 @@
<script>
//uri codificada
var
dmUri
=
"
{{
url
}}
"
;
//var options = {"fluid": true};
//var options = {"fluid": true};
si se activa el responsive, no sirve de nada el overlay.
var
options
=
{};
/*
//Para generar el reproductor de forma responsive...
// Seteo del reproductor y carga de url...
var player = videojs('dg-vid-01', options, function onPlayerReady() {
videojs.log('Reproductor Cargado...');
//carga url y content type hls
this.src({
type: 'application/x-mpegURL',
src: atob(dmUri)
});
///reproduccion de video
this.play();
//evento que escucha cuando el video del reproductor actual termina...
this.on('ended', function () {
videojs.log('Video terminado...');
});
});*/
(
function
(
window
,
videojs
)
{
var
player
=
window
.
player
=
videojs
(
'
dg-vid-01
'
,
options
,
function
onPlayerReady
()
{
...
...
@@ -82,12 +62,9 @@
content
:
'
<div class="myOverlay"><h2>DreamGirls - 01</h2></div>
'
,
debug
:
true
,
overlays
:
[{
content
:
'
<div class="myOverlay"><h2>DreamGirls - 01</h2></div>
'
,
class
:
''
,
start
:
'
play
'
,
end
:
'
pause
'
},
{
content
:
'
<div class="myOverlay"><h2>DreamGirls - 01</h2></div>
'
,
start
:
0
,
end
:
15
,
align
:
'
bottom-left
'
...
...
@@ -100,7 +77,6 @@
end
:
45
,
align
:
'
bottom-right
'
},
{
content
:
'
<div class="myOverlay"><h2>DreamGirls - 01</h2></div>
'
,
start
:
20
,
end
:
'
pause
'
}]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment