Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 May 2020, 13:05
X-or X-or is offline
 
Join Date: Nov 2005
Embed bilibili

I have tried to embed a bilibili video (the chinese youtube) using the embed code they provide but it didn't work out.

Anybody had more luck?
Reply With Quote
  #2  
Old 23 May 2020, 17:31
PinkMilk PinkMilk is offline
 
Join Date: May 2010
Real name: Milk Pink
Using just video id from url:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Options:
Use {option}
No

Remove Tag If Empty
Yes

Disable BB Code Within This BB Code
Yes

Disable Smilies Within This BB Code
Yes

Disable Word Wrapping Within This BB Code
Yes

Disable Automatic Link Parsing Within This BB Code
Yes

Example:
[bilibili]BV1Dg4y1B75T[/bilibili]


Notes:
I added standard YouTube width and height attributes as the bilibili embed code doesn't seem to come with them.

Last edited by PinkMilk; 23 May 2020 at 17:33. Reason: Did you hear about the guy who got hit in the head with a can of soda? He was lucky it was a soft drink.
Reply With Quote
  #3  
Old 23 May 2020, 19:20
X-or X-or is offline
 
Join Date: Nov 2005
^The above is more or less what I tried, but it doesn't show anything.

I wonder if this is related to the warning I get when saving the bbcode:
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
*Edit I fixed the warning by adding a title to the iframe but it still doesn't show anything.

Last edited by X-or; 23 May 2020 at 19:29.
Reply With Quote
  #4  
Old 23 May 2020, 21:35
PinkMilk PinkMilk is offline
 
Join Date: May 2010
Real name: Milk Pink
Originally Posted by X-or View Post
^The above is more or less what I tried, but it doesn't show anything.

I wonder if this is related to the warning I get when saving the bbcode:


*Edit I fixed the warning by adding a title to the iframe but it still doesn't show anything.

Did you try my code or just presume as its more or less the same that it is the same?

Based on the error your getting my guess is you have an atrribute that in 2020/html5 does not need blah="blah" such as allowfullscreen but did when vb4 was first coded.

Post the code your currently trying to use.

Last edited by PinkMilk; 23 May 2020 at 21:36. Reason: When tempted to fight fire with fire, remember that the Fire Department usually uses water.
Reply With Quote
  #5  
Old 23 May 2020, 21:44
X-or X-or is offline
 
Join Date: Nov 2005
I did try your code and it didn't work
and your code did give me that error until I added a name attribute

Edit: might be worth mentioning I use cloudflare
that was not a problem to embed youtube and niconico (japanese yt)
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embed PHP in Templates filburt1 vBulletin 2.x Full Releases 58 14 Jan 2004 02:35



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:39.

Layout Options | Width: Wide Color: