Jump to content

subtitles

- - - - -

  • Please log in to reply
5 replies to this topic

#1
cimerio

cimerio

    Newbie

  • Members
  • Pip
  • 3 posts
i need display subtitles in a html area.

how to?

example:

00:01:04:00 - appear in the area the text "first text"

00:01:04:08 - apper in the area the text "second text".



is possible in xml? java script? action script?
read the lines of a .srt file?

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,721 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
That's a really vague question...what do you mean by "HTML area?" Are they overlaid on top of something? (By the way, the SRT format is a little bit different from what you've posted.)
sudo rm -rf /

#3
cimerio

cimerio

    Newbie

  • Members
  • Pip
  • 3 posts
what do you mean by "HTML area?"
for example, a html table, or form.


Are they overlaid on top of something?


no, only text appear.

the SRT format is a little bit different from what you've posted.

yes, only a example.

#4
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,721 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
You could easily do this with PHP.
sudo rm -rf /

#5
cimerio

cimerio

    Newbie

  • Members
  • Pip
  • 3 posts

dargueta said:

You could easily do this with PHP.


how i do? what functions i use?

tks

#6
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,721 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Take a look at processing lines with regular expressions, store them in variables, and then print them out using the echo command.
sudo rm -rf /




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users