rejetto forum

HTML5 media playback instead of Flash in RAWR Live theme

RedyAu · 5 · 8139

0 Members and 1 Guest are viewing this topic.

Offline RedyAu

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
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.
Well, well...


Offline danny

  • Tireless poster
  • ****
    • Posts: 281
    • View Profile
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!
« Last Edit: April 16, 2021, 05:45:14 AM by danny »


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
(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).
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline danny

  • Tireless poster
  • ****
    • Posts: 281
    • View Profile
... 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. 
« Last Edit: April 16, 2021, 04:14:28 PM by danny »


Offline Owais Baloch

  • Occasional poster
  • *
    • Posts: 26
  • ;) :*
    • View Profile
    • Facebook link ;)
its Working ... Thankyou!!  :)
https://rejetto.com/forum/index.php?topic=13485.0
Screenshots




-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
« Last Edit: October 22, 2021, 02:28:00 PM by Mars »