Jump to content

Recommended Posts

For me, this link directs to youtubeinmp3.com which is a nonexistent domain name as it "might be temporarily down or it may have moved permanently to a new web address. (ERR_NAME_RESOLUTION_FAILED)"

You can try 

addEventHandler("onClientSoundStream", root, function(succ, length, streamN, err)
    if not succ then
      outputChatBox("Sound: "..streamN.." failed to start: "..err,100,0,0)
    end
  end
)

to see the reason for the failure to download/stream it.

Link to comment
  • Moderators

Szerintem nem az MTA funkcióval van a baj, szimplán az API nem jó (vagy nem jól van használva) és néha csak azt az oldalt hozza be ahol a letöltés gomb van és nem a direct letöltést.

 

English:

I think the api is wrong, because sometimes it's open the download page and not the direct download link.

Link to comment
9 minutes ago, Tommy. said:

Try this:


function asdasdsas()
playSound("http://www.convertmp3.io/download/?video=https://www.youtube.com/watch?v=iq7q82Cd6RI")
end
addCommandHandler("test",asdasdsas)

 

EDIT: did i not test
EDIT²: The API is broken, sometimes it does not start download.

you know another, working API?

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...