@desynova-digital/player 4.1.3 → 4.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -783,6 +783,10 @@ var Player = exports["default"] = /*#__PURE__*/function (_Component) {
783
783
  }, {
784
784
  key: "seek",
785
785
  value: function seek(time) {
786
+ var pauseOnSeek = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
787
+ if (pauseOnSeek) {
788
+ this.video.pause();
789
+ }
786
790
  this.video.seek(time);
787
791
  }
788
792
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@desynova-digital/player",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "Video Player Package for Contido Application",
5
5
  "main": "index.js",
6
6
  "scripts": {