@mjhls/mjh-framework 1.0.883-mwn-test-v3 → 1.0.883-mwn-test-v4
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/dist/cjs/Ustream.js +5 -5
- package/dist/esm/Ustream.js +5 -5
- package/package.json +1 -1
package/dist/cjs/Ustream.js
CHANGED
|
@@ -48,7 +48,7 @@ var Ustream = function Ustream(_ref) {
|
|
|
48
48
|
|
|
49
49
|
var ustreamContainer = React.useRef(null);
|
|
50
50
|
var clickableLink = React.useRef(null);
|
|
51
|
-
var frameUrl = 'https://mjh-web.s3.amazonaws.com/_media/
|
|
51
|
+
var frameUrl = 'https://mjh-web.s3.amazonaws.com/_media/mwn_frame_v2.jpg';
|
|
52
52
|
|
|
53
53
|
function handleClose(ev) {
|
|
54
54
|
ev.preventDefault();
|
|
@@ -124,7 +124,7 @@ var Ustream = function Ustream(_ref) {
|
|
|
124
124
|
{
|
|
125
125
|
id: 'ustream-container',
|
|
126
126
|
ref: ustreamContainer,
|
|
127
|
-
style: { width: '' + currentWidth, position: 'fixed', bottom: '2rem', left: '2rem', zIndex: '999999', boxShadow: '2px 4px 8px rgba(0,0,0,.35)' } },
|
|
127
|
+
style: { width: '' + currentWidth, position: 'fixed', bottom: '2rem', left: '2rem', zIndex: '999999', boxShadow: '2px 4px 8px rgba(0,0,0,.35)', borderRadius: '5px', overflow: 'hidden' } },
|
|
128
128
|
React__default['default'].createElement(
|
|
129
129
|
'a',
|
|
130
130
|
{ ref: clickableLink, target: '_blank', href: '' },
|
|
@@ -134,16 +134,16 @@ var Ustream = function Ustream(_ref) {
|
|
|
134
134
|
React__default['default'].createElement('img', { src: frameUrl, style: { width: '100%' } }),
|
|
135
135
|
React__default['default'].createElement(
|
|
136
136
|
'div',
|
|
137
|
-
{ style: { position: 'absolute', top: '
|
|
137
|
+
{ style: { position: 'absolute', top: '48px', left: '26px', width: '272px' } },
|
|
138
138
|
React__default['default'].createElement(
|
|
139
139
|
'div',
|
|
140
|
-
{ style: { position: 'relative', width: '100%', paddingTop: '56.25%', overflow: 'hidden', borderRadius: '
|
|
140
|
+
{ style: { position: 'relative', width: '100%', paddingTop: '56.25%', overflow: 'hidden', borderRadius: '10px' } },
|
|
141
141
|
React__default['default'].createElement('iframe', {
|
|
142
142
|
id: 'ustream-iframe',
|
|
143
143
|
webkitallowfullscreen: 'true',
|
|
144
144
|
allowFullScreen: true,
|
|
145
145
|
frameBorder: 'no',
|
|
146
|
-
style: { position: 'absolute', top: '0', bottom: '0', left: '0', right: '0', width: '100%', height: '100%', pointerEvents: 'none' }
|
|
146
|
+
style: { position: 'absolute', top: '0', bottom: '0', left: '0', right: '0', width: '100%', height: '100%', pointerEvents: 'none', borderRadius: '10px' }
|
|
147
147
|
})
|
|
148
148
|
)
|
|
149
149
|
)
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -42,7 +42,7 @@ var Ustream = function Ustream(_ref) {
|
|
|
42
42
|
|
|
43
43
|
var ustreamContainer = useRef(null);
|
|
44
44
|
var clickableLink = useRef(null);
|
|
45
|
-
var frameUrl = 'https://mjh-web.s3.amazonaws.com/_media/
|
|
45
|
+
var frameUrl = 'https://mjh-web.s3.amazonaws.com/_media/mwn_frame_v2.jpg';
|
|
46
46
|
|
|
47
47
|
function handleClose(ev) {
|
|
48
48
|
ev.preventDefault();
|
|
@@ -118,7 +118,7 @@ var Ustream = function Ustream(_ref) {
|
|
|
118
118
|
{
|
|
119
119
|
id: 'ustream-container',
|
|
120
120
|
ref: ustreamContainer,
|
|
121
|
-
style: { width: '' + currentWidth, position: 'fixed', bottom: '2rem', left: '2rem', zIndex: '999999', boxShadow: '2px 4px 8px rgba(0,0,0,.35)' } },
|
|
121
|
+
style: { width: '' + currentWidth, position: 'fixed', bottom: '2rem', left: '2rem', zIndex: '999999', boxShadow: '2px 4px 8px rgba(0,0,0,.35)', borderRadius: '5px', overflow: 'hidden' } },
|
|
122
122
|
React__default.createElement(
|
|
123
123
|
'a',
|
|
124
124
|
{ ref: clickableLink, target: '_blank', href: '' },
|
|
@@ -128,16 +128,16 @@ var Ustream = function Ustream(_ref) {
|
|
|
128
128
|
React__default.createElement('img', { src: frameUrl, style: { width: '100%' } }),
|
|
129
129
|
React__default.createElement(
|
|
130
130
|
'div',
|
|
131
|
-
{ style: { position: 'absolute', top: '
|
|
131
|
+
{ style: { position: 'absolute', top: '48px', left: '26px', width: '272px' } },
|
|
132
132
|
React__default.createElement(
|
|
133
133
|
'div',
|
|
134
|
-
{ style: { position: 'relative', width: '100%', paddingTop: '56.25%', overflow: 'hidden', borderRadius: '
|
|
134
|
+
{ style: { position: 'relative', width: '100%', paddingTop: '56.25%', overflow: 'hidden', borderRadius: '10px' } },
|
|
135
135
|
React__default.createElement('iframe', {
|
|
136
136
|
id: 'ustream-iframe',
|
|
137
137
|
webkitallowfullscreen: 'true',
|
|
138
138
|
allowFullScreen: true,
|
|
139
139
|
frameBorder: 'no',
|
|
140
|
-
style: { position: 'absolute', top: '0', bottom: '0', left: '0', right: '0', width: '100%', height: '100%', pointerEvents: 'none' }
|
|
140
|
+
style: { position: 'absolute', top: '0', bottom: '0', left: '0', right: '0', width: '100%', height: '100%', pointerEvents: 'none', borderRadius: '10px' }
|
|
141
141
|
})
|
|
142
142
|
)
|
|
143
143
|
)
|