@mjhls/mjh-framework 1.0.191 → 1.0.192

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.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.191
2
+ # mjh-framework v. 1.0.192
3
3
 
4
4
 
5
5
 
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import React__default, { Component, useState, useEffect, useRef, createElement, createContext } from 'react';
1
+ import React__default, { Component, useState, useEffect, useRef, createContext, createElement } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import reactDom from 'react-dom';
4
4
  import Container from 'react-bootstrap/Container';
@@ -29288,6 +29288,8 @@ var Ustream = function Ustream(_ref) {
29288
29288
  useEffect(function () {
29289
29289
  try {
29290
29290
  var container = document.getElementById('ustream-container');
29291
+ var ustream = document.getElementById('ustream-iframe');
29292
+ ustream.setAttribute('src', src);
29291
29293
 
29292
29294
  if (close) {
29293
29295
  var closeBtn = document.querySelector('.ustream-close');
@@ -29342,7 +29344,6 @@ var Ustream = function Ustream(_ref) {
29342
29344
  ),
29343
29345
  React__default.createElement('iframe', {
29344
29346
  id: 'ustream-iframe',
29345
- src: src,
29346
29347
  webkitallowfullscreen: 'true',
29347
29348
  allowFullScreen: true,
29348
29349
  frameBorder: 'no',