Asterisk URL Playback

Hi all,
This is a bit odd, but how can I playback a URL in my dialplan? So for example when extension 1 is dialed I want it to go to an address and play that back whether it’s a stream or a YouTube video.

Native playback doesn’t support streamed content, it downloads the file and then plays it. It also wouldn’t support a Youtube video. You’re looking at stuff outside of Asterisk, if you even could get a Youtube video to work.

Pls try this link and update if you sucess with this:
https://wiki.asterisk.org/wiki/display/AST/Stream+Support