mirror of
https://gh.llkk.cc/https://github.com/h5p/moodle-mod_hvp.git
synced 2026-03-04 13:36:41 +08:00
Added permission for getting embed code in H5P frame. Added separate embed.php file and embed code pointing to it. Refactored view and embed into common code in view_assets. Added translations for embed options. Added view template for rendering H5P containers. Added css for displaying content that platforms had, but had unusable selectors. Made embed an available content feature. Added embed options to H5P settings and editor.
23 lines
No EOL
400 B
CSS
23 lines
No EOL
400 B
CSS
body.h5p-embed {
|
|
font-family: Sans-Serif;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body.h5p-embed .h5p-container {
|
|
overflow: hidden;
|
|
}
|
|
|
|
body.h5p-embed .h5p-content {
|
|
font-size: 16px;
|
|
line-height: 1.5em;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
body.h5p-embed .h5p-fullscreen .h5p-content,
|
|
body.h5p-embed .h5p-semi-fullscreen .h5p-content {
|
|
height: 100%;
|
|
} |