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
246a66fe
Commit
246a66fe
authored
Aug 20, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prueba analytics
parent
c7d2d44f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
templates/test/index.html.twig
templates/test/index.html.twig
+24
-1
No files found.
templates/test/index.html.twig
View file @
246a66fe
...
...
@@ -8,6 +8,17 @@
<link
href=
"
{{
asset
(
'videojs-plugins/thumbnails/videojs-thumbnails.min.css'
)
}}
"
rel=
"stylesheet"
>
<link
href=
"
{{
asset
(
'videojs-plugins/overlay/videojs-overlay.css'
)
}}
"
>
<link
href=
"
{{
asset
(
'videojs-plugins/style-videojs.css'
)
}}
"
>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src=
"https://www.googletagmanager.com/gtag/js?id=UA-56570961-2"
></script>
<script>
window
.
dataLayer
=
window
.
dataLayer
||
[];
function
gtag
()
{
dataLayer
.
push
(
arguments
);
}
gtag
(
'
js
'
,
new
Date
());
gtag
(
'
config
'
,
'
UA-56570961-2
'
);
</script>
</head>
...
...
@@ -37,6 +48,7 @@
<script
src=
"
{{
asset
(
'videojs/video.min.js'
)
}}
"
></script>
<script
src=
"
{{
asset
(
'videojs-plugins/thumbnails/videojs-thumbnails.min.js'
)
}}
"
></script>
<script
src=
"
{{
asset
(
'videojs-plugins/overlay/videojs-overlay.js'
)
}}
"
></script>
<script
src=
"
{{
asset
(
'videojs-plugins/analitycs/videojs-analytics.js'
)
}}
"
></script>
<script>
//uri codificada
var
dmUri
=
"
{{
url
}}
"
;
...
...
@@ -60,7 +72,7 @@
});
player
.
overlay
({
debug
:
true
,
overlays
:
[{
content
:
'
<div class="myOverlay"><h1>DreamGirls - 01</h1></div>
'
,
...
...
@@ -68,6 +80,17 @@
end
:
'
pause
'
}]
});
player
.
analytics
({
events
:
[
{
name
:
'
play
'
,
label
:
'
reproduccion video
'
,
action
:
'
play
'
,
}
]
})
}(
window
,
window
.
videojs
));
...
...
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