https://instagram.com/alphazzers
   
Konuyu Oyla:
  • Toplam: 2 Oy - Ortalama: 4.5
  • 1
  • 2
  • 3
  • 4
  • 5
Youtube Playlist Embedding BBCode
#1
Seeing as how youtube change how stuff embeds every so often and the fact the last playlist embed I found was not working and was trailing code, I fixed this up.



Regex is not my strong suit so this can probably be done a lot more effectively, but as-is, it works.

Regular Expression


Code:

Kod:
\[ytplaylist\](https?:\/\/(.*?)?youtube\.com\/playlist\?list\=([a-z0-9\-\/]*))\[/ytplaylist\]


Replacement


Code:

Kod:
<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=$3" frameborder="0" allowfullscreen></iframe>



Example of appearance
seg3wG7.png
Ara
Cevapla PGM
Teşekkür verenler:
#2
Oh, Thank you bro.
Ara
Cevapla PGM
Teşekkür verenler:
#3
You are welcome :)
Ara
Cevapla PGM
Teşekkür verenler:
#4
Thank you :)
& digital artist
sans toi les émotions d’aujourd’hui ne sont que la peau morte des émotions d’autrefois.
Ara
Cevapla PGM
Teşekkür verenler:
#5
You are welcome :)
Ara
Cevapla PGM
Teşekkür verenler:


Hızlı Menü:


Şu anda bu konuyu okuyanlar: 1 Ziyaretçi


Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping