Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Commit

Permalink
fix size of video in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
DrClockwork committed Jun 13, 2017
1 parent 738c1bb commit 6de9754
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions h5pp/h5p/editor/h5peditormodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
STYLES = ["libs/darkroom.css",
"styles/css/application.css"]

OVERRIDE_STYLES = '/static/h5p/styles/h5pp.css'

SCRIPTS = [
"scripts/h5peditor.js",
"scripts/h5peditor-semantic-structure.js",
Expand Down Expand Up @@ -53,6 +55,9 @@ def h5peditorContent(request, contentId=None):
css = settings.STATIC_URL + 'h5p/h5peditor/' + style
assets['css'].append(css)

#Override Css
assets['css'].append(OVERRIDE_STYLES)

for script in SCRIPTS:
if script != 'scripts/h5peditor-editor.js':
js = settings.STATIC_URL + 'h5p/h5peditor/' + script
Expand Down
1 change: 0 additions & 1 deletion h5pp/h5p/h5pmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ def h5pAddFilesAndSettings(request, embedType):
assets = h5pAddCoreAssets()

if not 'json_content' in request.GET or not 'contentId' in request.GET:
print("passe")
return integration

content = h5pGetContent(request)
Expand Down

0 comments on commit 6de9754

Please sign in to comment.