2017-02-27 20 views
0

有在我的網站某些網頁的問題,當你測試這個頁面:錯誤的聲音文件:不是有效的AMP頁面

https://search.google.com/search-console/amp?utm_source=wmx&utm_medium=link&utm_campaign=wmx-agg&id=QJ9owsgYpzMn_4iKKSbvuw

我們證明不是有效的AMP頁面 無效AMP的頁面將Google搜索結果中沒有AMP特定的功能。

在此代碼:

<source type="audio/mpeg" src="http://traffic.libsyn.com/saudigamer/saudigamer_e212_010913.mp3?_=1"/></amp-audio></div><p class="powerpress_links powerpress_links_mp3">Podcast: <a href="http://traffic.libsyn.com/saudigamer/saudigamer_e212_010913.mp3" class="powerpress_link_pinw" target="_blank" title="Play in new window" rel="nofollow">Play in new window</a> | <a href="http://traffic.libsyn.com/saudigamer/saudigamer_e212_010913.mp3" class="powerpress_link_d" title="Download" rel="nofollow" download="saudigamer_e212_010913.mp3">Download</a></p> 

是AMP支持的聲音文件?!

回答

0

需要包括放大器,音頻JavaScript擴展

<script async custom-element="amp-audio" src="https://cdn.ampproject.org/v0/amp-audio-0.1.js"></script> 

以下行應當工作以「https」,並通過在開始

<amp-audio><source type="audio/mpeg" src="https://traffic.libsyn.com/saudigamer/saudigamer_e212_010913.mp3?_=1"/></amp-audio></div><p class="powerpress_links powerpress_links_mp3">Podcast: <a href="https://traffic.libsyn.com/saudigamer/saudigamer_e212_010913.mp3" class="powerpress_link_pinw" target="_blank" title="Play in new window" rel="nofollow">Play in new window</a> | <a href="https://traffic.libsyn.com/saudigamer/saudigamer_e212_010913.mp3" class="powerpress_link_d" title="Download" rel="nofollow" download="saudigamer_e212_010913.mp3">Download</a></p> 
添加缺少開放功放音頻標籤替換「HTTP」
相關問題