Index: openacs-4/packages/xotcl-core/tcl/bgdelivery-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/bgdelivery-procs.tcl,v diff -u -r1.68.2.7 -r1.68.2.8 --- openacs-4/packages/xotcl-core/tcl/bgdelivery-procs.tcl 4 Jul 2019 18:09:42 -0000 1.68.2.7 +++ openacs-4/packages/xotcl-core/tcl/bgdelivery-procs.tcl 18 Jul 2019 14:23:05 -0000 1.68.2.8 @@ -750,6 +750,9 @@ } { if {$query eq ""} { + if {![:isobject ::xo::cc]} { + ::xo::ConnectionContext require + } set query [::xo::cc actual_query] } set use_h264 [expr {[string match "video/mp4*" $mime_type] && $query ne ""