XF 2.2 I cannot use video source src

MesterPerfect

Active member
I am trying to create custom BBCodes to play video files
BB code tag: = vv
Title: = test
Description:
Replacement mode: = Simple replacement
Supports option parameter: = Optional
HTML replacement:
Code:
<video width="400" controls>
  <source src="{text}" type="video/mp4">

</video>

And when using the custom code in topics

[VV]http://localhost/xf2.1/test.mp4[/VV]

The result is like this

No video with supported format and MIME type found.
 
You likely need to set some of the advanced options, notably disabling autolinking (or all BB code parsing within). This probably won't fix an existing post though.

Otherwise, we'd need to see the issue actually happening somewhere so we can see what the rendered output is.
 
Back
Top Bottom