You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upload video, Not working below video because src set it in div tag src, [set Base64 to SRC]
Set Src:
DomComponents.componentsById[Our video tag ID Here].set({
attributes: {
src: "data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQDQsCptZGF0AA"
}
}); <div data-gjs-type="video" draggable="true" src="data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQDQsCptZGF0AA" onclick="" class="gjs-selected"><video src="../../../Images/test.mp4" class="gjs-no-pointer" style="height: 100%; width: 100%;" controls="" poster=""></video></div>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
default, Its working below code
<div data-gjs-type="video" draggable="true" src="../../../Images/test.mp4" onclick="" class="gjs-selected"><video src="../../../Images/test.mp4" class="gjs-no-pointer" style="height: 100%; width: 100%;" controls="" poster=""></video></div>
After upload video, Not working below video because src set it in div tag src, [set Base64 to SRC]
Set Src:
DomComponents.componentsById[Our video tag ID Here].set({
attributes: {
src: "data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQDQsCptZGF0AA"
}
});
<div data-gjs-type="video" draggable="true" src="data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQDQsCptZGF0AA" onclick="" class="gjs-selected"><video src="../../../Images/test.mp4" class="gjs-no-pointer" style="height: 100%; width: 100%;" controls="" poster=""></video></div>
Please guide me,
Beta Was this translation helpful? Give feedback.
All reactions