Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Annotation-System
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Annotation-Pushers
Annotation-System
Commits
6f99a50f
Commit
6f99a50f
authored
Feb 28, 2018
by
Matt Mascarenhas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cinera_player_pre.js: Only resume() if playing
parent
e7aefbad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
cinera/cinera_player_pre.js
cinera/cinera_player_pre.js
+4
-1
No files found.
cinera/cinera_player_pre.js
View file @
6f99a50f
...
@@ -118,8 +118,11 @@ Player.prototype.updateSize = function() {
...
@@ -118,8 +118,11 @@ Player.prototype.updateSize = function() {
this
.
markersContainer
.
style
.
height
=
height
;
this
.
markersContainer
.
style
.
height
=
height
;
if
(
this
.
youtubePlayerReady
)
{
if
(
this
.
youtubePlayerReady
)
{
this
.
youtubePlayer
.
setSize
(
Math
.
floor
(
width
),
Math
.
floor
(
height
));
this
.
youtubePlayer
.
setSize
(
Math
.
floor
(
width
),
Math
.
floor
(
height
));
if
(
this
.
playing
)
{
this
.
resume
();
this
.
resume
();
}
}
}
}
}
// Stops the per-frame work that the player does. Call when you want to hide or get rid of the player.
// Stops the per-frame work that the player does. Call when you want to hide or get rid of the player.
...
...
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