rejetto forum

Replacing RAWR Templates' player with HTML 5 or VLC player?

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

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
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 »
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
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
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
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile

Offline Mercurious

  • Occasional poster
  • *
    • Posts: 2
    • View Profile
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

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
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???
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline LeoNeeson

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


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
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

Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing