ros.grant.common 2.0.1255 → 2.0.1256

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.
@@ -6874,6 +6874,7 @@ var VideoDialog = /** @class */ (function () {
6874
6874
  });
6875
6875
  };
6876
6876
  VideoDialog.prototype.createVideoNode = function (url) {
6877
+ console.log(1, url);
6877
6878
  // video url patterns(youtube, rutube, instagram, vimeo, dailymotion, youku, mp4, ogg, webm)
6878
6879
  var ytRegExp = /^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/;
6879
6880
  var ytMatch = url.match(ytRegExp);
@@ -6900,7 +6901,8 @@ var VideoDialog = /** @class */ (function () {
6900
6901
  var webmRegExp = /^.+.(webm)$/;
6901
6902
  var webmMatch = url.match(webmRegExp);
6902
6903
  var $video;
6903
-
6904
+ console.log(2, rytRegExp);
6905
+ console.log(3, rytMatch);
6904
6906
  if (ytMatch && ytMatch[1].length === 11) {
6905
6907
  var youtubeId = ytMatch[1];
6906
6908
  $video = $$1('<iframe>')
@@ -6909,6 +6911,7 @@ var VideoDialog = /** @class */ (function () {
6909
6911
  .attr('width', '640').attr('height', '360');
6910
6912
  }
6911
6913
  else if (rytMatch && rytMatch[2].length) {
6914
+ console.log(4, rytMatch);
6912
6915
  var rutubeId = rytMatch[2];
6913
6916
  $video = $$1('<iframe>')
6914
6917
  .attr('frameborder', 0)
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.1255",
2
+ "version": "2.0.1256",
3
3
  "name": "ros.grant.common",
4
4
  "private": false,
5
5
  "scripts": {