Merge pull request #42 from icmcnamara/embed-additional-head-tags

Add optional additional head tags support to embed
pull/43/head
Frode Petterson 2017-11-06 09:53:00 +01:00 committed by GitHub
commit b418d24c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@
<?php for ($i = 0, $s = count($styles); $i < $s; $i++): ?> <?php for ($i = 0, $s = count($styles); $i < $s; $i++): ?>
<link rel="stylesheet" href="<?php print $styles[$i]; ?>"> <link rel="stylesheet" href="<?php print $styles[$i]; ?>">
<?php endfor; ?> <?php endfor; ?>
<?php if (isset($additional_embed_head_tags)) { print implode("\n", $additional_embed_head_tags); } ?>
</head> </head>
<body> <body>
<div class="h5p-content" data-content-id="<?php print $content['id']; ?>"></div> <div class="h5p-content" data-content-id="<?php print $content['id']; ?>"></div>