parsing verschil youtube.com vs youtu.be

Pagina: 1
Acties:

Acties:
  • 0 Henk 'm!

  • Raven
  • Registratie: November 2004
  • Niet online

Raven

Marion Raven fan

Topicstarter
code:
1
[video]https://www.youtube.com/watch?v=jsdzQY-k73E?t=19[/]

[YouTube: https://www.youtube.com/watch?v=jsdzQY-k73E?t=19]

code:
1
[video]https://youtu.be/jsdzQY-k73E?t=19[/]



Oftewel "t=*" werkt niet bij youtube.com maar wel bij youtu.be, is dat by design of een bugje dat te fixen is?

After the first glass you see things as you wish they were. After the second you see things as they are not. Finally you see things as they really are, and that is the most horrible thing in the world...

Oscar Wilde


Acties:
  • 0 Henk 'm!

  • hiekikowan
  • Registratie: Februari 2011
  • Laatst online: 19:28
In de eerste URL overschrijf je de zogeheten queryparameters uit de URL.

Als je deze aanpast als volgt
code:
1
[video]https://www.youtube.com/watch?v=jsdzQY-k73E&t=19[/video]

Zal hij vermoedelijk wel werken

De tweede ? is hierbij vervangen voor een &, bij youtu.be is dit niet nodig omdat daar het ID van de video niet in de v=-queryparameter staat maar onderdeel is van het URI-path

[ Voor 28% gewijzigd door hiekikowan op 27-09-2022 10:01 ]


Acties:
  • 0 Henk 'm!

  • Raven
  • Registratie: November 2004
  • Niet online

Raven

Marion Raven fan

Topicstarter


.... en dat was het inderdaad, oeps :$ , * Raven gaat op zoek naar cafeïne.

After the first glass you see things as you wish they were. After the second you see things as they are not. Finally you see things as they really are, and that is the most horrible thing in the world...

Oscar Wilde


Acties:
  • 0 Henk 'm!

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 20:53

crisp

Devver

Pixelated

Afbeeldingslocatie: https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Een_kopje_koffie.jpg/2560px-Een_kopje_koffie.jpg

alstu :Y)

Intentionally left blank