Author Topic: Replacing RAWR Templates' player with HTML 5 or VLC player?  (Read 3757 times)

0 Members and 1 Guest are viewing this topic.

Offline bugmenot

  • Occasional poster
  • *
  • Posts: 6
    • View Profile
Sorry for using bugmenot, but registration seems slightly broken; verification emails don't get sent out.

Anyway, as a new user of HFS, can anyone help me figure out how to replace the RAWR templates' video player with an HTML5 player? Chrome doesn't support Java anymore, so chrome users can't stream video from a server using them.   

I've seen bmartino's post here: http://www.rejetto.com/forum/html-templates/need-template-support-html5-on-iphone/msg1060855/#msg1060855

Unfortunately, I have no idea where to start if I want to force RAWR templates to use this player instead of their default, or how to force them to use a VLC plugin either.   I just want to get this working in chrome and firefox at the same time.

Offline bmartino1

  • Insane poster
  • *****
  • Posts: 777
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: Replacing RAWR Templates' player with HTML 5 or VLC player?
« Reply #1 on: July 10, 2016, 04:59:34 AM »
are you tying to play a video on a iPhone device?
or any device with the web browser?

for PC web browsers:
i would recommend the live template rarw design...

you can download the rarw templates here:
http://www.rejetto.com/forum/rawr-designs/latest-releases/

i recommend live for the html / hfs template and flash video built in support... the device you play will need a coded compatible player... (possible some "mime type" updates)

Instal example:
extract the zip file contents
C:/HFS folder path/hfs.exe
C:/HFS folder path/zip file contents:
    - template folder
    - filename.tpl

dir:
C:\webroot\templates
C:\webroot\hfs.exe

in hfs (expert mode) > menu > html > change file , select the tpl (the template is now active and live....
*it should auto add the template folder

Otherwise:
if you are want-ing to steam a single file, then i recommend html coding with help form :
http://v4e.thewikies.com/
http://www.w3schools.com/html/html5_video.asp

and see other thread for more forum info:
http://www.rejetto.com/forum/hfs-~-http-file-server/information-(mime-types)-embed-pdfsvideo-and-audio/
http://www.rejetto.com/forum/hfs-~-http-file-server/serving-video-files/msg1059473/#msg1059473


« Last Edit: July 10, 2016, 05:04:37 AM by bmartino1 »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline dj

  • Experienced poster
  • ***
  • Posts: 60
    • View Profile
Re: Replacing RAWR Templates' player with HTML 5 or VLC player?
« Reply #2 on: July 10, 2016, 08:23:57 AM »
you can use the standard template for the supported formats

http://www.rejetto.com/forum/beta/downloaded-files/msg1052766/#msg1052766

Menu > Other options > MIME types...   and open directly in browser
*.mp4   |video/mp4    (H.264 1 2)
*.ogg    |video/ogg     (Theora)
*.webm |video/webm (VP9)
*.mp3   |audio/mpeg
*.m3u8 |    3

update:  1H.265 in Edge 2in mkv in Chrome 3in Edge (HLS)

« Last Edit: July 12, 2016, 04:21:17 PM by dj »

Offline bugmenot

  • Occasional poster
  • *
  • Posts: 6
    • View Profile
Re: Replacing RAWR Templates' player with HTML 5 or VLC player?
« Reply #3 on: July 10, 2016, 05:41:41 PM »
Thanks for answering! I think that's my main problem, is I don't know how I can insert code into the templates; they only seem to have TPL and css files; are the TPL files just filled with html code? That would make it easier.

As for what I'm trying to do - trying to make mkvs streamable, since that's the easiest format for me to make HEVC/H265 stuff.

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12852
    • View Profile
Re: Replacing RAWR Templates' player with HTML 5 or VLC player?
« Reply #4 on: July 17, 2016, 02:46:20 PM »
mostly HTML, broken in pieces, and some extra commands.
you can find an explanation here
http://www.rejetto.com/wiki/index.php?title=HFS:_Template

Offline Mercurious

  • Occasional poster
  • *
  • Posts: 2
    • View Profile
Re: Replacing RAWR Templates' player with HTML 5 or VLC player?
« Reply #5 on: July 18, 2016, 08:19:52 AM »
Thanks for the info; I'm working on it now - if I can find a way to get html 5 viewing HEVC content, I'll post it here.

Offline bmartino1

  • Insane poster
  • *****
  • Posts: 777
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: Replacing RAWR Templates' player with HTML 5 or VLC player?
« Reply #6 on: July 22, 2016, 09:39:19 PM »
Thanks for the info; I'm working on it now - if I can find a way to get html 5 viewing HEVC content, I'll post it here.

hevc contect? is that the mkv code???
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline LeoNeeson

  • Insane poster
  • *****
  • Posts: 450
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: Replacing RAWR Templates' player with HTML 5 or VLC player?
« Reply #7 on: July 23, 2016, 11:50:09 AM »
HEVC is a codec (also known as H.265, and is the successor of the popular H.264) and MKV is a video container, the same way an AVI can be the container of a DivX or XviD encoded video (DivX/XviD is a codec too). Files encoded with H265 are very small, but needs a powerful machine to play them.
• HFS ahora también disponible en Español! (Clic aqui) :)
• HFS is now also available in Spanish! (Click here)

Follow members gave a thank to your post:


Offline bmartino1

  • Insane poster
  • *****
  • Posts: 777
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: Replacing RAWR Templates' player with HTML 5 or VLC player?
« Reply #8 on: July 23, 2016, 03:06:22 PM »
ok... then i would recommend a vlc stream server:

ok h.265 is aviable via codec:
http://www.videolan.org/developers/x265.html

overview - setup:
http://www.videolan.org/vlc/streaming.html

http://www.howtogeek.com/118075/how-to-stream-videos-and-music-over-the-network-using-vlc/

you can also tie in the vlc web player into hfs.....

at that point hfs would need the codec defined...
mimetype info:
https://www.ietf.org/mail-archive/web/media-types/current/msg00588.html
https://mailman.videolan.org/pipermail/vlc-devel/2014-October/099806.html
https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format
https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding

etc file format > video/hevc
Code: [Select]
*.mkv > video/hevc
You may also need to call the source codec:
http://stackoverflow.com/questions/5672833/where-is-a-complete-list-of-mime-types-with-codecs-for-the-html5-source-attribut

Code: [Select]
<source src='url' type='mime/type; codec="codec-name"' />
will look into getting a file and test with the video player html and get back to you, this seems easily done with defining the mimetyoe and teling the html source to use x codec...


call html call vlc web plugin:
https://wiki.videolan.org/Documentation:WebPlugin/
https://wiki.videolan.org/Simple_Stream_VLC_to_Website/
http://stackoverflow.com/questions/14375767/embedding-vlc-plugin-on-html-page

I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Follow members gave a thank to your post: