rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: RedyAu on April 15, 2021, 05:15:57 PM

Title: HTML5 media playback instead of Flash in RAWR Live theme
Post by: RedyAu on April 15, 2021, 05:15:57 PM
Hi!
I'm new on this forum, but I'd like to post this here, as it might be useful to some.

With the help of my friend, we managed to change the Flash preview player in the Live theme to use video tags. It works for audio as well, it's great.
The modified code might not be the most refined, but it does the job as far as I'm concerned. Feel free to improve it below.

Everything else you need to know is explained at the top of the first file.

Before use, remove the txt extension from the files...
(Whoa this forum is really locked-down. First I wanted to just put a link to a GitHub Gist I created, not allowed. Then I tried to post the thing in code tags, too long. I can't even share the important part of the code in a code tag, because it thinks some part of it is and external link. And I can't even really upload it, just with a trick. Very well.)

The part that matters from the code:
Well, it's not happening. Look at line 413.
Title: Re: HTML5 media playback instead of Flash in RAWR Live theme
Post by: danny on April 15, 2021, 06:38:09 PM
I've no idea why you couldn't post a link from github.  Perhaps it is a new-user hazing filter? 
Looks like the attachments worked.  Welcome to the forum!
Title: Re: HTML5 media playback instead of Flash in RAWR Live theme
Post by: LeoNeeson on April 16, 2021, 05:22:06 AM
(Whoa this forum is really locked-down. First I wanted to just put a link to a GitHub Gist I created, not allowed. Then I tried to post the thing in code tags, too long. I can't even share the important part of the code in a code tag, because it thinks some part of it is and external link. And I can't even really upload it, just with a trick. Very well.)
@RedyAu: Hi!, don't let this security measures bring you down, or discourage you from contributing here. Welcome to the forum. :)

I've no idea why you couldn't post a link from github.  Perhaps it is a new-user hazing filter?
@danny: Yes, it's a forum security feature not allowing external links, in posts made by new users. This is done for the good of anyone here, to avoid spam. This measure doesn't check if the link is on GitHub or other trusted sources, but it directly denies publishing any external link (until the user gain some reputation). Besides that, it's always much better to attach files here than hosting on external links (since an external file can expire or be removed by external factors).
Title: Re: HTML5 media playback instead of Flash in RAWR Live theme
Post by: danny on April 16, 2021, 07:56:14 AM
... it's always much better to attach files here than hosting on external links (since an external file can expire or be removed by external factors).
So, true!  Another lost external link is bmartino1's updates to the Live theme.