We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf1338 commit f6abc06Copy full SHA for f6abc06
1 file changed
src/players/Vimeo.js
@@ -1,5 +1,4 @@
1
import React from 'react'
2
-import { findDOMNode } from 'react-dom'
3
import loadScript from 'load-script'
4
5
import Base from './Base'
@@ -62,7 +61,7 @@ export default class Vimeo extends Base {
62
61
})
63
this.player.on('loaded', () => {
64
this.onReady()
65
- const iframe = findDOMNode(this).querySelector('iframe')
+ const iframe = this.container.querySelector('iframe')
66
iframe.style.width = '100%'
67
iframe.style.height = '100%'
68
0 commit comments