Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

emirax

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emirax

A simple embed video package in react.

  • 0.0.1-alpha.3
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Emirax embed


npm version

Downloads

License


Table of Contents

Description

Emirax is a simple package to embed videos in React.

This is an alpha test.

It supports YouTube and Vimeo videos.


Release-notes

Version 0.0.1-alpha.1


Installation

To install the emirax, you can use the following npm command:


npm install emirax

React


import React from 'react';
import EmbedReact from 'emirax';

export const ExampleComponent = () => {
  return (
    <div>
      <EmbedReact cssName="embed-1"
        width={640}
        height={360}
        autoplay={false}
        controls={true}
        fullscreen={true}
        link="https://www.youtube.com/watch?v=oEXFMGK7IC0"
      />

      <EmbedReact cssName="embed-2"
        width={640}
        height={360}
        autoplay={false}
        controls={true}
        fullscreen={true}
        link="https://vimeo.com/217499569"
      />

    </div>
  );
};

License

MIT


Author

Demjhon Silver

FAQs

Package last updated on 24 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc