Open theju opened 9 years ago
An demo html file would be like
<!doctype html> <html> <head> <title>PARI Talking Album widget embed</title> </head> <body> <div id="album-616795"></div> <script type="text/javascript"> var __pariAlbum = { "widgetId": "album-616795", "url": "http://localhost:8000/albums/the-green-army/", "widgetWidth": "400px", "widgetHeight": "308px" }; (function() { var script = document.createElement("script"); script.type = "text/javascript"; script.src = "http://localhost:8000/static/album/js/album_embed.js"; var scripts = document.getElementsByTagName("script"); scripts[scripts.length - 1].parentNode.appendChild(script); })(); </script> </body> </html>
An demo html file would be like