rejetto forum

i need help please !

mysoogal · 25 · 44531

0 Members and 1 Guest are viewing this topic.

Offline mysoogal

  • Tireless poster
  • ****
    • Posts: 127
    • View Profile
http://www.rejetto.com/forum/index.php?topic=6909.0

i already posted long time ago using vlc in template, which i figured out but the issue was couldn't play on firefox

Quote
[file]
<tr><td class="file" colspan="2"><a href=" %item-url% "%comment% style="background-image:url('/~img_file')"%new%>%item-name%</a></td><td class="right">%item-size%

it only seem to be working for IE6/7/8

firefox when you click on %item-url% the video not starting on firefox so i left that project, but you can see here i came very close the only thing left if i wanted to improve it more was to somehow make the jpg display like in a css gallery with jpg title etc . but i never could find answers so didnt get to finish it  :-\

thanks anyway  ;D i will have to wait for someone more experienced in creating templates in hfs to figure this thumbnail issue.


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Try re-installing VLC and checking the mozilla plugin option?

Active-X is the only on checked by default in the installer.


Offline mysoogal

  • Tireless poster
  • ****
    • Posts: 127
    • View Profile
yes vlc plugin on firefox browser is enabled and nothing else is blocking it. reinstalling vlc didn't fix issue. so i think the javascript code is not working on new firefox 3   :(


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
FireFox 3.5 is out now, it should work, FireFox works with everything before Internet Explorer usually.


Offline mysoogal

  • Tireless poster
  • ****
    • Posts: 127
    • View Profile
FireFox 3.5 is out now, it should work, FireFox works with everything before Internet Explorer usually.

sorry not in this case, it seems there is problem with this code in the javascript code

Quote
<a href=\"#\" onclick=\"vlc_controls.play('$file')\">$file</a>

when i use this code, the page doesn't render and gives error about _T something like that.

http://www.mozilla.com/en-US/firefox/video/

when you visit this page in firefox 3.5 is it using java player ? or something else, video is ogv so probably java but im not sure :O anybody can tell  ;D i'm interested in stealing this player but it seems no fullscreen ! yuck

this player could be cool in hfs template with java player !








Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Is this going in PHP, Javascript or something?

Then try this:
<a href=\"javascript:void(0);\" onclick=\"vlc_controls.play('$file')\">$file</a>

Other:
<a href="javascript:void(0);" onclick="vlc_controls.play('$file')">$file</a>


Offline mysoogal

  • Tireless poster
  • ****
    • Posts: 127
    • View Profile
Is this going in PHP, Javascript or something?

Then try this:
<a href=\"javascript:void(0);\" onclick=\"vlc_controls.play('$file')\">$file</a>

Other:
<a href="javascript:void(0);" onclick="vlc_controls.play('$file')">$file</a>

yes, i tried to change this code below

Quote
<a href=\"javascript:fullwin('$file')\">$file</a>
[/b]

the issue is that when i replace the code above with the code vlc code it gives me php error. i will try this again in 10 mints maybe i didnt follow it right. the thing is i simply can't change anything here  <a href=\"javascript:fullwin('$file')\">$file</a> i cant change this into vlc enabled command on the main page where thumbs show up i have embed vlc player with local javascript js file. it shows the player but the vlc command is simply not working for now  :-\


Quote
$result .= "<li><TABLE border=0 cellspacing=0 cellpadding=0 align=center width=440><TR><TD valign=\"top\" align=\"left\" width=\"35%\"><a href=\"javascript:fullwin('$file')\"><img src=\"images/$file.jpg\" border=\"0\" align=\"absmiddle\" alt=\"File Name $file\"></a></td><TD valign=\"top\" align=\"left\" width=\"65%\"><B>Video:</B>&nbsp;<a href=\"javascript:fullwin('$file')\">$file</a><BR><BR><B>File Size:</B> <FONT COLOR=\"#1185D0\">$fsize</FONT><BR><BR>".@file_get_contents($_SERVER["DOCUMENT_ROOT"]."/demos/feeds/text/$file.txt")."</td></tr></table><hr>\n";
         $cnt++;


Offline mysoogal

  • Tireless poster
  • ****
    • Posts: 127
    • View Profile
using this code
Quote
<a href="javascript:void(0);" onclick="vlc_controls.play('$file')">$file</a>
in the php creates this error

Quote
Parse error: syntax error, unexpected T_STRING in C:\WLMP\HTDOCS\player.php on line 144



Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
see previous post:
http://www.rejetto.com/forum/hfs-~-http-file-server/information-(mime-types)-embed-pdfsvideo-and-audio/

In hfs double check your mime types to include the flv / fpmeg, that will allow it to open your html and play...
Files I have snagged and share can be found on my google drive:

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


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2063
    • View Profile
this is an old topic, it was not necessary to reply

mysoogal is not active on forum since  04 July 2010, 19:27:18 
« Last Edit: July 28, 2014, 03:16:30 PM by Mars »