I used a BB-code in vB4 that made videos from YouTube embed in posts. I thought that was something that came with vB but I could be wrong.
However after upgrading to vB5 the videos turned white but still occupied the space in posts. I spoke with the support here and they said YouTube had changed their syntax for videos which is a part of the problem.
If you look at the embed code at YouTube it looks like this
However when using that code in the BB-editor in vB , changing the kfvxmEuC7bU to {param} it still showed this white box and no video.
Without having to much knowledge i tried to put div tags around it and suddenly it worked. I am no expert on this so if any of you see something stupid in this solution please comment what changes should be made.
The final thing i used in the custom BB-codes is this
However after upgrading to vB5 the videos turned white but still occupied the space in posts. I spoke with the support here and they said YouTube had changed their syntax for videos which is a part of the problem.
If you look at the embed code at YouTube it looks like this
Code:
<iframe width="560" height="315" src="https://www.youtube.com/embed/kfvxmEuC7bU" frameborder="0" allowfullscreen></iframe>
Without having to much knowledge i tried to put div tags around it and suddenly it worked. I am no expert on this so if any of you see something stupid in this solution please comment what changes should be made.
The final thing i used in the custom BB-codes is this
Code:
<div><iframe width="560" height="315" src="https://www.youtube.com/embed/{param}" frameborder="0" allowfullscreen></iframe></div>
Comment