New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pdftron/webviewer-video

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pdftron/webviewer-video - npm Package Compare versions

Comparing version 1.0.26 to 1.0.27

2

package.json
{
"name": "@pdftron/webviewer-video",
"version": "1.0.26",
"version": "1.0.27",
"description": "This is an addon for WebViewer that allows loading HTML5 videos (.mp4, ogg, webm) so that their video frames can be annotated.",

@@ -5,0 +5,0 @@ "main": "dist/main.js",

@@ -62,3 +62,3 @@ # WebViewer Video

If your environment can not import WebViewer Video from the module, you can instead include video as a script tag. Simply, take the file `node_modules/@pdftron/webviewer-video/dist/main.js` and add to you html page.
If your environment can not import WebViewer Video from the module, you can instead include WebViewer Video as a script tag. Simply, take the file `node_modules/@pdftron/webviewer-video/dist/main.js` and add it to your project's html page.

@@ -68,2 +68,3 @@ ```html

...
<!-- main.js can be renamed -->
<script src="./main.js"></script>

@@ -73,5 +74,6 @@ </head>

This will add the object `WebViewerVideo` to the window. This object contains `initializeVideoViewer`. So the above code can be changed to:
This will add the object `WebViewerVideo` to the window. This object contains `initializeVideoViewer`. So the previous code can be changed to:
```javascript
...
const {

@@ -86,3 +88,2 @@ loadVideo,

## Documentation

@@ -89,0 +90,0 @@

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