Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help needed. Can't insert iframe. #3

Open
animemandir opened this issue May 14, 2022 · 0 comments
Open

Help needed. Can't insert iframe. #3

animemandir opened this issue May 14, 2022 · 0 comments

Comments

@animemandir
Copy link

animemandir commented May 14, 2022

First of all, I am really sorry but the entire structure is very hard to understand so I am having some trouble.

What I want to do:

  • Add an iframe above the movie details section ~
return (
IFRAME    
<Introduction
      backgroundImageSrc={movie.backdrop_path}
      imageSrc={movie.poster_path}
      imageAlt={movie.title}
      title={
        <Box>
  • The iframe should appear here right above the movie details.
    image

  • The code for iframe is something like - the tmdb id for the movie would be inserted in the src.

<AspectRatio aspectRatio={16 / 9}>
<iframe
        title="Watch movie and free download"
        src={`https://www.2embed.ru/embed/tmdb/movie?id=${tmdb_id}`}
        frameBorder="0"
        allowFullScreen
      />

Would really appreciate some code spoon-feeding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant