Jump to content

Youtube links


Baseplate

Recommended Posts

Well , i was searching some time ago for this.

Yes it's possbile , by convert the youtube video to mp3 then play/download it to the client. There are page's like this ("youtube to mp3") , but i don't find any one that could be used with php call on server request. So i started searching for project's / php's that could be used , well that was a dead end to , bk all i found it was some pay'd stuff's .So i give'd up on this.

Link to comment

You can download any sound you want from YouTube, but Should change the formula to MP3 and use it in this way

sound = playSound("yoursound.mp3",true)  

And in meta .

"theFile/yoursound.mp3"/> 

Just this -_-"

Gonna ignore this.

@bandi94, I've seen a server once which can play sound from youtube links, so it is possible of course, gonna look in it anyways..

Link to comment

@NssoR please realy stop posting more crap , bk i will end dead from laughing.

Youtube it's not using .mp3 format how dafu*** you wanna change the "formula" of this video "https://www.youtube.com/watch?v=eaTawbEn_d4" to mp3 "formula" and play it on the server. ?

We area speaking about real time youtube converter , i enter a song name on the server then : server->php->youtube->mp3 converter -> php -> server -> client -> playSound. And not about download some song from youtube and put it in the server.

Link to comment
Use an Online Converter.

callRemote,fetchRemote

Well yah , that's the point , but i was unable to find any Online Converter , that could be used with calling it from other php.

There are only "paste the link and press the download button" well maybe it's possbile to do it i am prity noob at php/html .

BTW : yes i think he wanna enter the youtube : link , then MTA would play the song (atleast i wanted to do this)

Link to comment

I tried it, but all it does is output "Direct access denied.".

function myCallback ( responseData, errno ) 
    if ( errno == 0 ) then 
        outputDebugString ( responseData ) 
    end 
end 
  
fetchRemote ( "http://youtubeinmp3.com/fetch/?video=https://www.youtube.com/watch?v=i62Zjga8JOM", myCallback, "", false ) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...