Php 检查SoundCloud歌曲是否可嵌入

Php 检查SoundCloud歌曲是否可嵌入,php,soundcloud,Php,Soundcloud,我正在尝试使用SoundCloudAPI来检查歌曲是否可嵌入,这与可流化相同吗?我的代码如下所示: $trackid = $track['id']; $username = mysql_real_escape_string($track['user']['username']); $title = mysql_real_escape_string($track['title']); $downloadable = $track['downloadable']; $streamable = $tr

我正在尝试使用SoundCloudAPI来检查歌曲是否可嵌入,这与可流化相同吗?我的代码如下所示:

$trackid = $track['id'];
$username = mysql_real_escape_string($track['user']['username']);
$title = mysql_real_escape_string($track['title']);
$downloadable = $track['downloadable'];
$streamable = $track['streamable'];

        // Check if streamable
        if(!$streamable) {

        header( 'Location: error.php' );

        } else { ...
我可以很容易地获得trackid、用户名、标题和下载,但是streamable是正确的属性吗?我说的是当你嵌入一首歌时,它会说“哎呀,这首歌不能在SoundCloud之外播放。”我想确保这不会发生,并且如果这首歌是其中一首歌,就不允许播放。

指的是
可流化的
属性存在。是的,这是对的