{"action":"created","issue":{"url":"https://api.github.com/repos/jazkarta/edx-platform-for-isc/issues/2","labels_url":"https://api.github.com/repos/jazkarta/edx-platform-for-isc/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jazkarta/edx-platform-for-isc/issues/2/comments","events_url":"https://api.github.com/repos/jazkarta/edx-platform-for-isc/issues/2/events","html_url":"https://github.com/jazkarta/edx-platform-for-isc/issues/2","id":84221199,"number":2,"title":"XBlock for SWF Simulations","user":{"login":"cewing","id":417109,"avatar_url":"https://avatars.githubusercontent.com/u/417109?v=3","gravatar_id":"","url":"https://api.github.com/users/cewing","html_url":"https://github.com/cewing","followers_url":"https://api.github.com/users/cewing/followers","following_url":"https://api.github.com/users/cewing/following{/other_user}","gists_url":"https://api.github.com/users/cewing/gists{/gist_id}","starred_url":"https://api.github.com/users/cewing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cewing/subscriptions","organizations_url":"https://api.github.com/users/cewing/orgs","repos_url":"https://api.github.com/users/cewing/repos","events_url":"https://api.github.com/users/cewing/events{/privacy}","received_events_url":"https://api.github.com/users/cewing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cguardia","id":324415,"avatar_url":"https://avatars.githubusercontent.com/u/324415?v=3","gravatar_id":"","url":"https://api.github.com/users/cguardia","html_url":"https://github.com/cguardia","followers_url":"https://api.github.com/users/cguardia/followers","following_url":"https://api.github.com/users/cguardia/following{/other_user}","gists_url":"https://api.github.com/users/cguardia/gists{/gist_id}","starred_url":"https://api.github.com/users/cguardia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cguardia/subscriptions","organizations_url":"https://api.github.com/users/cguardia/orgs","repos_url":"https://api.github.com/users/cguardia/repos","events_url":"https://api.github.com/users/cguardia/events{/privacy}","received_events_url":"https://api.github.com/users/cguardia/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-06-02T21:34:59Z","updated_at":"2015-06-18T13:55:21Z","closed_at":null,"body":"How easy is it to add a new component type with some pre-defined text? I've been copy and pasting HTML/javascript from previous courses to add a simulation to a page. However, I think it would be great to have it as an option when we add a New Component so we don't have to think about it. It's not top priority but if it's quick, I think it could save us a lot of time and headaches.\r\n\r\nIn case it matters, the text I'm copying/would should show up is:\r\n\r\n```html\r\n<h2>Simulation</h2>\r\n<p>Replace ISCxxxx with your course number, the simulation name and the static image name to implement a simulation. </p>\r\n<script>// <![CDATA[\r\n// Popup window code\r\nfunction newPopup(url) {\r\npopupWindow = window.open(\r\nurl,'popUpWindow','left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')\r\n}\r\n// ]]></script>\r\n<p><a onclick=\"newPopup(\"https://staging-lms.learning.intersystems.com/c4x/InterSystems/ISCxxxx/asset/set.swf\")\"><img src=\"/static/setVidImage2.png\" type=\"saveimage\" target=\"[object Object]\" width=\"650\" /></a></p>\r\n```\r\nHaving it as a popup is a requirement. We also have other simulations that are embedded on the page but the code we've used is something like this:\r\n\r\n```html\r\n<center><object data=\"/static/IconSim.swf\" type=\"application/x-shockwave-flash\" height=\"200\" width=\"45%\">\r\n</object></center>\r\n```\r\n\r\n(from Jennifer.Ames@intersystems.com)"},"comment":{"url":"https://api.github.com/repos/jazkarta/edx-platform-for-isc/issues/comments/113164171","html_url":"https://github.com/jazkarta/edx-platform-for-isc/issues/2#issuecomment-113164171","issue_url":"https://api.github.com/repos/jazkarta/edx-platform-for-isc/issues/2","id":113164171,"user":{"login":"cguardia","id":324415,"avatar_url":"https://avatars.githubusercontent.com/u/324415?v=3","gravatar_id":"","url":"https://api.github.com/users/cguardia","html_url":"https://github.com/cguardia","followers_url":"https://api.github.com/users/cguardia/followers","following_url":"https://api.github.com/users/cguardia/following{/other_user}","gists_url":"https://api.github.com/users/cguardia/gists{/gist_id}","starred_url":"https://api.github.com/users/cguardia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cguardia/subscriptions","organizations_url":"https://api.github.com/users/cguardia/orgs","repos_url":"https://api.github.com/users/cguardia/repos","events_url":"https://api.github.com/users/cguardia/events{/privacy}","received_events_url":"https://api.github.com/users/cguardia/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T13:55:21Z","updated_at":"2015-06-18T13:55:21Z","body":"Still no feedback. Here's my fork, just in case:\r\n\r\nhttps://github.com/cguardia/flashXBlock"}}