/ Published in: JavaScript
Put this code in the global_view.js
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
, events: { 'click video': 'play_video' } , play_video: function (event) { var _this = this; try { event.currentTarget.play(); } catch (err) { }; }