Commit cb840146 authored by Quoc Huy Nguyen Dinh's avatar Quoc Huy Nguyen Dinh
Browse files

- Twitch works

- fixed Spotify height
parent 9977a73a
......@@ -55,8 +55,6 @@
## twitch direct html iframe markup
It's broken, because we don't set parameter `parent` in url query. Iframe's attribute `src` should be something like `<channel, video, or collection>&`. From their docs: "parent string (required) Domain(s) that will be embedding Twitch. You must have one parent key for each domain your site uses."
<iframe src="" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>
## twitter
......@@ -14,6 +14,13 @@ const regex = {
export default regex;
export function getIframeDimensions() {
return {
width: '100%',
height: '240',
* Configuration for HTML iframe's `sandbox` attribute
* @type {useSandbox: boolean, sandboxAttributes: string[]}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment