Skip to content

Video Block JS not available statically on sandbox/prod environment #479

@farhan

Description

@farhan

As we have extracted the BuiltIn Blocks to xblocks-contrib we have started using local_resource_url method of runtime to load the static file that suppose to be bundled by the runtime and make it statically available.

It's working fine on local machine setup (tutor dev) but not working on the sandbox created in the PR's (Video, Problem)

Sanbox environment has been created in the following PR to test the Extracted Video Block (to xblocks-contrib)
openedx/openedx-platform#37851

Test results:

  1. Extracted Video Block is working fine (with static JS file) on local machine setup (tested on tutor dev).
  2. Video Block JS not available statically on sandbox/prod environment in referenced PR.

In this story we will figure the root cause and fix the issue. It seems JS file is not bundled.

Video Block JS file is available in the sandbox for the Built In Video Block

Image

Video Block JS file is available in the local machine (tutor dev) setup for the Extracted Video Block

Image

Video Block JS file is not available in the sandbox for the Extracted Video Block

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions