我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Youtube fmt_stream_map会出现区域限制视频错误

My server is in US and the video I am trying to get its info is allowed in US. But I don't know why the method:

File_Get_Contents('http://www.youtube.com/get_video_info?video_id='.$vidID );

doesn't work with any video has a region restriction, even if my server is not within the blocked areas.

Here is the video ID: a94xCZkDyc0

any ideas ?

Note: I tried to embed the video and it works fine but I can not retrieve the fmt stream map info.

近期文章

  • 使用php创建具有特定列数的表列
  • 在会员专业的会员区展示产品
  • 如何将数组重复值添加到单个值
  • 如何将2个查询数据包含在单个结果中? [关闭]
  • 怎么写图像地址让web显示上传的图片而不是之前的图片?或者怎么写?只用C#代码
  • 解码ByteArrray以将位图显示到ImageView Android中
  • 数据插入数据库后,如何在wordpress中使用php重定向到帖子
  • 如果在OOPS PHP中以相反的顺序定义,则多级继承会给出错误
  • 如何在正确的路径中设置cookie?
  • 使用JSON刷新数据
  • MYSQL在PHP中选择查询
  • PHP上传服务器重置错误
  • 路由时出错404
  • 回声“n”
  • DateTime :: createFromFormat无法识别没有前导零的小时数
  • Netbeans和PHP - 远程调试,不会遇到断点
  • Android将空白行添加到db
  • 生成日期时结果不合适
  • 在命令行中执行PHP脚本时,它返回脚本标记中的webscript
  • 如果https连接,则cURL空请求数据

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华