Skip to content

A plugin for ResourceSpace, allowing for the creation of local "resources" from a Microsoft Stream URL. Based on the Vimeo -> ResourceSpace (vm2rs) plugin.

License

Notifications You must be signed in to change notification settings

404ryannotfound/ms2rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ResourceSpace plugin: ms2rs

A plugin for ResourceSpace (a Digital Asset management system), allowing for the creation of local "resources" from a Microsoft Stream URL. Based on the Vimeo -> ResourceSpace (vm2rs) plugin.

Screenshot

resourcespace-screenshot

Links

Name Description Link
Writing your own plugins Knowledgebase article to help with developing plugins View on ResourceSpace
Microsoft oEmbed Add Microsoft Stream videos to other apps by using oEmbed View on Microsoft docs
Microsoft Graph thumbnails Get video thumbnails from SharePoint using Microsoft Graph View on Handsontek

Dependencies / Requirements

Due to Microsoft office/365 security & logins, user must be logged in & authenticated.

Operation

The Microsoft Stream to ResourceSpace plugin hooks into the resource View page to embed a Stream video. On the options page for this plugin you can enter the ID of a metadata field that is used to store the URL of the Stream video.

Metadata field creation

In your web browser open your ResourceSpace site, navigate to: System > Metadata fields: Select resource type 'Video', Create metadata field called ... 'StreamURL' / Text box (single line). Take note of the ID.

Installation

To install, cd into the plugins directory, clone, then install.

cd plugins
sudo git clone https://github.com/404ryannotfound/ms2rs.git
npm install

Alternatively:

Download the zip file https://github.com/404ryannotfound/ms2rs/archive/refs/heads/main.zip. Unzip the contents, rename the 'ms2rs-main' folder to 'ms2rs', re-zip the folder, and change from '.zip' to '.rsp' In your web browser open your ResourceSpace site, navigate to: System > Plugins > Bottom of the page: Select the ms2rs.rsp

Operation

The Microsoft Stream to ResourceSpace plugin hooks into the resource View page to embed a Stream video. On the options page for this plugin you can enter the ID of a metadata field that is used to store the URL of the Stream video. Metadata field creation

Setup

In your web browser open your ResourceSpace site, navigate to: System > Plugins > Microsoft Stream to ResourceSpace > Options: Add your Metadata field ID, Save & exit

Usage

To create a new resource, select the Drop menu (top right) > Resources > Create new resource record Select Video, add metadata as required. Under Video Properties: add the url to StreamURL i.e. https://web.microsoftstream.com/video/12345678-5ba4-5ac3-b870-ce8b0df12345 If using the Embed code, be sure to exclude '?autoplay=false&showinfo=true' from the url.

Issues known/contributing

Log any issues to the Issues page.

Known issues/Limitations

My coding skills ¯_(ツ)_/¯ upload_plupload.php & view.php both need review of the regex checking.

Contributing

Contributors are more than welcome! 🤗 Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • ResourceSpace For an amazing DAM, and allowing for Open Source contributions and usage.
  • VM2RS (Vimeo embed) For the initial plugin code from which this is adapted.

About

A plugin for ResourceSpace, allowing for the creation of local "resources" from a Microsoft Stream URL. Based on the Vimeo -> ResourceSpace (vm2rs) plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages