Skip to content

Commit 348b7de

Browse files
committed
fix(video): fixed name of the function for custom video callback.
fixes #79
1 parent 60e74b9 commit 348b7de

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

dist/embed.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/embed.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/embed.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/modules/video/helper.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var helper = {
99
*/
1010
play(options) {
1111
/** Execute the customVideoClickHandler if the user wants to handle it on his own. */
12-
if(options.customVideoClickHandler) return options.customVideoClickHandler(options, this.template)
12+
if(options.customVideoClickHandler) return options.videoClickHandler(options, this.template)
1313

1414
let classes = document.getElementsByClassName(options.videoClickClass);
1515
let _this = this;

0 commit comments

Comments
 (0)