1
HFS ~ HTTP File Server / Embedding video from HFS to website
« on: July 31, 2023, 06:01:45 PM »
Hello dear community!
maybe this question was asked before here but I can not find exact answer...
My case (HFS 2.3m):
-I have a dedicated IP so videos from my HFS server available for anyone, so I want to publish them at my Wordpress website.
However, I don't have any success - only black screens with player controls or "video load failed" message (same time, videos playing in browser without any problems). I've tried both ways - different Wordpress players and html codes below.
(I am not expert in coding, mostly I using web tutorials):
1st code ****it worked well for Google Drive embedding****
<div style="position:relative;padding-bottom:56.25%;height:0;overflow:hidden;"> <iframe style="width:100%;height:100%;position:absolute;left:0px;top:0px;overflow:hidden" frameborder="0" type="text/html" src="ADDRESSOFMYVIDEO.mp4" width="100%" height="100%" allowfullscreen > </iframe> </div>
and 2nd code
< video controls >
< source src=”ADDRESSOFMYVIDEO.mp4″ type=”video/mp4″ >
< /video >
Maybe I am missing something in website or HFS settings?
Thank you in advance!
maybe this question was asked before here but I can not find exact answer...
My case (HFS 2.3m):
-I have a dedicated IP so videos from my HFS server available for anyone, so I want to publish them at my Wordpress website.
However, I don't have any success - only black screens with player controls or "video load failed" message (same time, videos playing in browser without any problems). I've tried both ways - different Wordpress players and html codes below.
(I am not expert in coding, mostly I using web tutorials):
1st code ****it worked well for Google Drive embedding****
<div style="position:relative;padding-bottom:56.25%;height:0;overflow:hidden;"> <iframe style="width:100%;height:100%;position:absolute;left:0px;top:0px;overflow:hidden" frameborder="0" type="text/html" src="ADDRESSOFMYVIDEO.mp4" width="100%" height="100%" allowfullscreen > </iframe> </div>
and 2nd code
< video controls >
< source src=”ADDRESSOFMYVIDEO.mp4″ type=”video/mp4″ >
< /video >
Maybe I am missing something in website or HFS settings?
Thank you in advance!