FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Dynamically change video URLs
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Dynamically change video URLs [message #180555] Tue, 26 February 2013 08:26 Go to next message
wrightedaniely is currently offline  wrightedaniely
Messages: 3
Registered: February 2013
Karma: 0
Junior Member
I am new to PHP and Javascript, but I need to develop a website that hosts video files.

I want to have one page that lists all the video with a thumbnail, title (which is clickable), and short description. But, I'm confused as to how I would make each link dynamically direct to the correct video URL/file (using the video.js HTML5 player).

And I would like the video URLs to be placed in an external file and referenced in each link.

Is it possible to do this using PHP and Javascript? If so, can I please get help?
Re: Dynamically change video URLs [message #180557 is a reply to message #180555] Tue, 26 February 2013 10:23 Go to previous messageGo to next message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma: 0
Senior Member
Am 26.02.2013 09:26, schrieb wrightedaniely(at)gmail(dot)com:
> I am new to PHP and Javascript, but I need to develop a website that hosts video files.
>
> I want to have one page that lists all the video with a thumbnail, title (which is clickable), and short description. But, I'm confused as to how I would make each link dynamically direct to the correct video URL/file (using the video.js HTML5 player).
>
> And I would like the video URLs to be placed in an external file and referenced in each link.
>
> Is it possible to do this using PHP and Javascript? If so, can I please get help?
>

If you have a concrete question to PHP code you can ask us.

But there is no "how to teach programming in 10 lines".

/Str.
Re: Dynamically change video URLs [message #180559 is a reply to message #180555] Tue, 26 February 2013 14:02 Go to previous messageGo to next message
Scott Johnson is currently offline  Scott Johnson
Messages: 196
Registered: January 2012
Karma: 0
Senior Member
On 2/26/2013 12:26 AM, wrightedaniely(at)gmail(dot)com wrote:
> I am new to PHP and Javascript, but I need to develop a website that hosts video files.
>
> I want to have one page that lists all the video with a thumbnail, title (which is clickable), and short description. But, I'm confused as to how I would make each link dynamically direct to the correct video URL/file (using the video.js HTML5 player).
>
> And I would like the video URLs to be placed in an external file and referenced in each link.
>
> Is it possible to do this using PHP and Javascript? If so, can I please get help?
>

I am sure if you produce some html to display at least one link (not
dynamic) the folks here might be able to help you do the same with PHP.
But you need to take the first step.
Re: Dynamically change video URLs [message #180561 is a reply to message #180557] Tue, 26 February 2013 16:25 Go to previous messageGo to next message
wrightedaniely is currently offline  wrightedaniely
Messages: 3
Registered: February 2013
Karma: 0
Junior Member
I'm not looking to "learn programming in 10 lines"...
Re: Dynamically change video URLs [message #180564 is a reply to message #180561] Tue, 26 February 2013 17:42 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 2/26/2013 11:25 AM, Daniely W wrote:
> I'm not looking to "learn programming in 10 lines"...
>

What he's saying is this is user-to-user help. If you have a specific
question about PHP, this is the place to ask. If you aren't sure
whether you need html, javascript, php or something else, you have more
basic problems this newsgroup won't be able to help you with.

You need to get a basic understanding of the technologies involved and
what gets done where. Then figure out what you need to do and try it
out. If it comes down to a specific PHP problem you've tried to resolve
but can't, then come back here.

P.S. Please quote the relevant part(s) of the message you are replying
to. The majority of the active users here use usenet readers, not
google groups and the previous message may or may not be available.

Thanks.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Dynamically change video URLs [message #180570 is a reply to message #180561] Tue, 26 February 2013 22:03 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Daniely W wrote:
^ Who?

> I'm not looking to "learn programming in 10 lines"...

What are you looking for, then?

<http://www.catb.org/~esr/faqs/smart-questions.html>
<http://www.netmeister.org/news/learn2quote.html>


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7(at)news(dot)demon(dot)co(dot)uk>
Re: Dynamically change video URLs [message #180608 is a reply to message #180570] Wed, 06 March 2013 15:40 Go to previous message
wrightedaniely is currently offline  wrightedaniely
Messages: 3
Registered: February 2013
Karma: 0
Junior Member
On Tuesday, February 26, 2013 5:03:45 PM UTC-5, Thomas 'PointedEars' Lahn wrote:
> Daniely W wrote:
>
> ^ Who?
>
>
>
>> I'm not looking to "learn programming in 10 lines"...
>
>
>
> What are you looking for, then?
>
>
>
> <http://www.catb.org/~esr/faqs/smart-questions.html>
>
> <http://www.netmeister.org/news/learn2quote.html>
>
>
>
>
>
> PointedEars
>
> --
>
> Prototype.js was written by people who don't know javascript for people
>
> who don't know javascript. People who don't know javascript are not
>
> the best source of advice on designing systems that use javascript.
>
> -- Richard Cornford, cljs, <f806at$ail$1$8300dec7(at)news(dot)demon(dot)co(dot)uk>

Merely looking for help/guidance in achieving the task I want, from developers who know the language and what they're doing...that's all. But, the previous two posts answered my question. I've looked elsewhere.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Novice Question
Next Topic: Mail() function
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 21:24:31 GMT 2024

Total time taken to generate the page: 0.02443 seconds