question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Video Plugin is not working

See original GitHub issue

draft-js 0.9.1 + draft-js-plugins-editor 2.0.0-beta6 + draft-js-video-plugin 2.0.0-beta.5

Plugin is detecting video source and video url, but not inserting a video component. Below you can see content state after I pasted a link to Youtube. Thus the link appears as plain unstyled text. Could you please give an advice how to fix it?

{  
  "entityMap":{  },
  "blocks":[  
    {  
      "key":"5loer",
      "text":"Pasting video:",
      "type":"unstyled",
      "depth":0,
      "inlineStyleRanges":[  ],
      "entityRanges":[  ],
      "data":{  }
    },
    {  
      "key":"f2eoc",
      "text":"https://www.youtube.com/watch?v=JCZJ05ygPk0",
      "type":"unstyled",
      "depth":0,
      "inlineStyleRanges":[  ],
      "entityRanges":[  ],
      "data":{  }
    },
    {  
      "key":"707o1",
      "text":"",
      "type":"unstyled",
      "depth":0,
      "inlineStyleRanges":[  ],
      "entityRanges":[  ],
      "data":{  }
    }
  ]
}

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kuatrocommented, Jan 19, 2017

@mzbac I think the problem isn’t in pasting videos only. This example is not working too: SimpleVideoEditor

Is the documentation outdated now?

0reactions
stale[bot]commented, Sep 9, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix videos & games that won't play - Google Chrome Help
Fix videos & games that won't play · Step 1: Turn on JavaScript · Step 2: Check your extensions, plugins, cache & cookies...
Read more >
How to Fix Plugins Not Working in Final Cut Pro X?[2021]
Generally, the issue can be fixed by simply updating and re-installing the plugin in your system but if that does not work, consider...
Read more >
Fixing “This Plugin is Not Supported” error in Windows 10/11
1. Enable Flash in Chrome. 2. Install the latest Flash player; Update Flash:Clear the browsing data in Chrome. 3. Use another browser to...
Read more >
Video Player Widget not Working | WordPress.org
Video Player Widget not Working · 1. Under Tools > Site Health, on the Troubleshooting tab, click on the Enable Troubleshooting Mode button...
Read more >
Chrome Not Playing Video? How to Fix - Lifewire
What to Know · Check if you need to update Chrome. · See if the video is publicly available. · Enable JavaScript. ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found