{"_id":"@comsultia/rtvs-embed-podcast","_rev":"1-2242901240341f8d971ad0817684b134","name":"@comsultia/rtvs-embed-podcast","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.3":{"name":"@comsultia/rtvs-embed-podcast","version":"0.0.3","description":"RTVS embed podcast iframe","main":"dist/bundle.js","scripts":{"start":"webpack --watch --mode development","build":"webpack --mode production"},"keywords":["rtvs","iframe","video","player","embed"],"repository":{"type":"git","url":"ssh://git@bit.comsultia.com:7999/nod/rtvs-embed-podcast.git"},"author":{"name":"Comsultia, s.r.o."},"license":"ISC","dependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.1.6","@babel/plugin-proposal-class-properties":"^7.4.0","@babel/plugin-proposal-object-rest-spread":"^7.4.0","@babel/preset-env":"^7.4.1","@babel/preset-typescript":"^7.3.3","babel-loader":"^8.0.4","typescript":"^3.3.3","webpack":"^4.35.0","webpack-cli":"^3.3.4","webpack-dev-server":"^3.7.2"},"devDependencies":{},"gitHead":"caaa39af162d214a07b9088365346ca6d656fa3d","_id":"@comsultia/rtvs-embed-podcast@0.0.3","_nodeVersion":"10.14.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-hzqXGxjW8mJiudfw49MyvP2X7dsI8+NHPQ9baWJhtFnVKo1trWYaUH3nA4FSiy/dGIVyWUL5CG1DR5SKybVDaQ==","shasum":"f83d51f947cd7ab9ad7faf3cc37d7f04c835306a","tarball":"https://registry.npmjs.org/@comsultia/rtvs-embed-podcast/-/rtvs-embed-podcast-0.0.3.tgz","fileCount":14,"unpackedSize":16899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrclaCRA9TVsSAnZWagAAPNgP/RLYPZuj5vh3VRRVzffF\nucWgY4rOqURUqdtk5FAznA2iP9N6EGAD1E/1lIooFYuUSKVNgUgeloOCQmYR\nQ9of5FhwSETfI5NSWEsK+ErhH5Kw+tQL+VSRmHDj0u/qkOvu5LKLp5bpPzLM\nKkXcUIpvPRi8wXL9V/mRarFAmfFkggtTB0rkahPEKrY45/E2vjXARLRvXw+D\ndtVDyuKYK68INgRYFN8YCs/YHZftnapknSk9C3cSD8hmPlfacInmat47wi5/\nOMYvfgmIANNAeEoQo21YXUP4zlEo55Cahfhncn9saXFVVa62rNmZGak6n9/G\nI43RyLLzcWuWSyFt7WvCu++jxRn3m0350EpPC3KaQe/D02nWhGZ8gLpOwlh8\nJvNSDoEiHzeM9+1d13UOsjJGv9FcW/odmoO/sy3e7mPO9N3LTNfYJnY/5RO2\na75kjph8rRW7OjMNDsVTGqk4LwzIIM0oUA4Bt/KuEIDxnmMgJk7o4DPslwp8\na/YbvxbhRmdrD22ynbZsfBNkkwmuKfRHA6yn0mwSjLMthnVITZPVCE5lKzkV\nz+k2AA1Pzwup88Ee5S/EMx8MZ8cv4eA78um5f7UhK48xva3SffkvC7shnPm7\nl77GC2pYSs8uGC5H35SvBBbE1zeZIKA394hRTCiR8hlOunXUrDvlXVILt6Al\ncFjN\r\n=Ns+l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+qYIqB5gxuB51Mra2SDJZE06Sv1SGuv3jQQvlKRCsyAiEApn9YuSd7pUHfKOKrpaxas/qxUfVDBdme4FZmOjEi+OM="}]},"maintainers":[{"name":"rfordinal","email":"roman.fordinal@comsultia.com"}],"_npmUser":{"name":"rfordinal","email":"roman.fordinal@comsultia.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rtvs-embed-podcast_0.0.3_1571670361415_0.29587578512692625"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-21T15:06:01.414Z","0.0.3":"2019-10-21T15:06:01.527Z","modified":"2022-04-05T00:43:26.656Z"},"maintainers":[{"name":"rfordinal","email":"roman.fordinal@comsultia.com"}],"description":"RTVS embed podcast iframe","keywords":["rtvs","iframe","video","player","embed"],"repository":{"type":"git","url":"ssh://git@bit.comsultia.com:7999/nod/rtvs-embed-podcast.git"},"author":{"name":"Comsultia, s.r.o."},"license":"ISC","readme":"# rtvs-embed-podcast\n\n**rtvs-embed-podcast** is a plugin for embed [RTVS](https://www.rtvs.sk/) podcast player into iframe on any website with client private key.\n\n## installation\n\n```javascript\nnpm install @comsultia/rtvs-embed-podcast\n```\n\n## usage\n\nIn your html add javascript build from ***node_modules/@comsultia/rtvs-embed-podcast/dist/bundle.js*** and choose the method you like the most.\n\n### 1) method\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n  <title>Podcast iframe RTVS</title>\n  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n  <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" />\n  <meta name=\"robots\" content=\"index,follow\" />\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\" />\n  <link href=\"./public/css/styles.css\" media=\"all\" rel=\"stylesheet\" type=\"text/css\" />\n  <script src=\"./node_modules/@comsultia/rtvs-embed-podcast/dist/bundle.js\"></script>\n</head>\n<body>\n\n  <main>\n    <h1>\n      <a href=\"https://rtvs.sk\" target=\"_blank\">\n        <img src=\"./public/img/logo-rtvs.png\" alt=\"rtvs\" />\n      </a>Podcast iframe RTVS\n    </h1>\n\n    <!-- method 1) use by data attributes -->\n    <div data-podcast-id=\"1175\" data-podcast-key=\"test-key\" data-podcast-debug=\"true\"></div>\n    <div data-podcast-id=\"1176\" data-podcast-key=\"test-key\"></div>\n\n  </main>\n\n</body>\n</html>\n```\n*example available in 'node_modules/@comsultia/rtvs-embed-podcast/index.html'*\n\n## attributes\n\n**data-podcast-debug**: logs to browser console: true || false (1 || 0) (optional, false by default)\n\n**data-podcast-id**: id of RTVS podcast (required)\n\n**data-podcast-key**: client private key (required)\n\n### 2) method\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n  <title>Podcast iframe RTVS</title>\n  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n  <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" />\n  <meta name=\"robots\" content=\"index,follow\" />\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\" />\n  <link href=\"./public/css/styles.css\" media=\"all\" rel=\"stylesheet\" type=\"text/css\" />\n  <script src=\"./node_modules/@comsultia/rtvs-embed-podcast/dist/bundle.js\"></script>\n</head>\n<body>\n\n  <main>\n    <h1>\n      <a href=\"https://rtvs.sk\" target=\"_blank\">\n        <img src=\"./public/img/logo-rtvs.png\" alt=\"rtvs\" />\n      </a>Podcast iframe RTVS\n    </h1>\n\n    <!-- method 2) use as plugin (don't forget to init plugin) -->\n    <div id=\"iframe-1\"></div>\n\n  </main>\n\n  <script>\n    \n    // init podcast iframe plugin\n    podcastIframe.init({\n      debug: true, // true if development\n      elementId: 'iframe-1',\n      podcastId: 1175,\n      key: 'test-key'\n    });\n    \n  </script>\n\n</body>\n</html>\n```\n\n*example available in 'node_modules/@comsultia/rtvs-embed-podcast/index.html'*\n\n## parameters\n\n**debug**: logs to browser console: true || false (1 || 0) (optional, false by default)\n\n**elementId**: id of element where iframe will be inserted (required)\n\n**podcastId**: id of RTVS podcast (required)\n\n**key**: client private key (required)\n\n## demo\n\navailable in *'node_modules/@comsultia/rtvs-embed-podcast/index.html'*\n","readmeFilename":"README.md"}