1.調用接口獲取永久素材
接口請求說明
http請求方式: POST,https協議 https://api.weixin.qq.com/cgi-bin/material/get_material?access_token=ACCESS_TOKEN
返回的content解析到網頁
$content = str_replace('data-src','src',$content);
$content = str_replace("<img ", "<img style='max-width:100%;height:auto;'", $content);
這隻能顯示圖片,視頻還是顯示不出來 ,底部樣式有點不對,
先記下
2.另一個思路
file_get_content() html頁面 替換src 直接報參數錯誤。。。