It would be nice to have the ability to upload videos and files. You could use the same file manager and just allow those type of files too. For files, maybe we could use the file manager to upload, and then use the link option to insert it as a download option.
Yep, i think this is a great idea.
Hi all,
Thanks for raising this feature request. While we discuss this, if you want to attach a custom video, you can do the following,

Thanks, for myself this is the solution i needed, but not for my users. But for now it is all i need. Thank you
If I do this on my project, just like you did in the video, the video is not loading... only difference between our videos are, that mine is in .webm format...
Can a file be uploaded without it being shown on the sidebar? I would like to upload some PDFs and just have links to them throughout the pages.
Thanks.
@Abijeet I am unable to replicate your demo

BookStack v0.28.2
Apologies for the language, can re-upload with out the swear word if you'd prefer :)
question is what acutally is playing the video, and hence what formats are possible? is it some integrated js-player, or is the browser actually nativly playing the file?
i've also uploaded an mp4 file, but those are just containers certainly.
The two files I tried:
Complete name : HP80My1VMluY55lT.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 51.6 MiB
Duration : 3 min 47 s
Overall bit rate : 1 904 kb/s
Writing application : Lavf57.83.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3 min 47 s
Bit rate : 1 772 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.036
Stream size : 48.0 MiB (93%)
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : mp4a-40-2
Duration : 3 min 47 s
Bit rate mode : Constant
Bit rate : 126 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 3.41 MiB (7%)
Language : English
Default : Yes
Alternate group : 1
and
Unique ID : 246705257846812138323519864319541940752 (0xB999B45071F2B3B331F85243F31E9210)
Complete name : QBmbGIqnz1950HAC.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 51.5 MiB
Duration : 3 min 47 s
Overall bit rate : 1 901 kb/s
Writing application : Lavf57.83.100
Writing library : Lavf57.83.100
ErrorDetectionType : Per level 1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 3 min 47 s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : Opus
Codec ID : A_OPUS
Duration : 3 min 47 s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Bit depth : 32 bits
Compression mode : Lossy
Language : English
Default : Yes
Forced : No
The two files I tried:
can you add what tool you used to generate this info? i'd like to generate comparable output for my testfiles.
@whysthatso I used mediainfo (https://mediaarea.net/en/MediaInfo)
Hi, I have the same issue, I want to upload video in a page but it not possible :(
There are my file infos :
Complete name : video.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 290 KiB
Duration : 58 s 560 ms
Overall bit rate : 40.5 kb/s
Writing application : Lavf58.31.104
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 58 s 560 ms
Bit rate : 38.9 kb/s
Width : 1 592 pixels
Height : 894 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 12.893 FPS
Minimum frame rate : 8.333 FPS
Maximum frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.002
Stream size : 278 KiB (96%)
Writing library : x264 core 158 r2984 3759fcb
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Codec configuration box : avcC
I done an other test with an other video and it worked
file info :
Complete name : video2.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 874 KiB
Duration : 1 min 15 s
Overall bit rate : 94.8 kb/s
Writing application : Lavf58.31.104
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 min 15 s
Bit rate : 92.4 kb/s
Width : 1 578 pixels
Height : 1 086 pixels
Display aspect ratio : 3:2
Frame rate mode : Variable
Frame rate : 16.080 FPS
Minimum frame rate : 8.333 FPS
Maximum frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.003
Stream size : 852 KiB (97%)
Writing library : x264 core 158 r2984 3759fcb
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Codec configuration box : avcC
I don't understand why this one worked and not the other :/
Hi there,
We're pretty much decided on using Bookstack, but attaching custom videos will be important for us. Just a bit concerned about hitting a situation where some videos mysteriously fail to play. Anyone know what the state of play is with this issue?
Most helpful comment
@Abijeet I am unable to replicate your demo
BookStack v0.28.2
Apologies for the language, can re-upload with out the swear word if you'd prefer :)