Community discussions

MikroTik App
 
darrenmonreal
just joined
Topic Author
Posts: 1
Joined: Sat Jun 19, 2021 2:46 pm

Video on RB750GR3 Hotspot Captive Portal Won't Play

Sat Jun 19, 2021 3:02 pm

SITUATION:

I have a RB750GR Hex. I have used it for hotspot. I want to show a video (Trailer of Newest Movies) on captive portal (login.html). I have locally hosted the video on a flash drive that is connected to my Hex. My code is as follows:

<video width="100%" controls="control" autoplay>
<source src="disk1/nameofvideo.mp4" type="video/mp4">
</video>

PROBLEM:
The video won't play. I already tried to format the flash drive into ext3 but still no luck.

WORKAROUND:
I tried to host the video on the internal memory of my hex now it's playing with no problem. Unfortunately, I downscaled the video to 240p so that the file size can be catered by the low storage of hex. If someone knows how to make it work, hosting the video on the flash drive it would be great.

WAY FORWARD:
I am planning to change the HTML DIRECTORY from "flash/hotspot" to "disk1/hotspot". Maybe, it will solve my problem. Just maybe. I am hesitant to do it because I'm afraid that it might mess up my hotspot setup + mikhmon. I have active clients everyday.

I hope someone can help me. Thank you!

Who is online

Users browsing this forum: No registered users and 51 guests