PHPを使用してテキストからすべてのYoutube埋め込み値を爆発させるにはどうすればよいですか? たとえば、次のテキストがあります。
Fails: <iframe width="560" height="315" src="http://www.youtube.com/embed/Ujwod-vqyqA" frameborder="0" allowfullscreen></iframe>
More fails: <iframe width="560" height="315" src="http://www.youtube.com/embed/DYRTzXSYixQ" frameborder="0" allowfullscreen></iframe>
More the more: <iframe width="560" height="315" src="http://www.youtube.com/embed/uLWqUW_U6dQ" frameborder="0" allowfullscreen></iframe>
そして、Facebookの投稿に埋め込まれたすべてのビデオの1つ、たとえば最初のビデオの埋め込みを使用したい:
https://i3.ytimg.com/vi/Ujwod-vqyqA/mqdefault.jpg
これどうやってするの?で試しましたが、うまくいきstrpos
ません。