mediaspace 1.3.5 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,31 +1,24 @@
1
1
  # About
2
2
 
3
- This is a mediaspaces app package that gets data from Mediaspaces App API
3
+ This is a package that directly displays photos available in spaces created on [mediaspaces app](https://www.mediaspaces.app). It makes it possible to share pictures uploaded by you, or shared by your audience directly
4
+ on your website. With this, you can decide to automatically update photos shown on your website based on certain metrics including how happy the people taking the photos are, the quality of the photos, their popularity (in terms of how many times they have been shared, and interacted with on social media), etc.
4
5
 
5
- # Running the project locally
6
+ # Running the project
6
7
 
7
- ```
8
- npm i
9
- npm run build
10
- ```
11
-
12
- Open the index.html file on liveserver
8
+ ## Step 1: Install the package;
13
9
 
14
- # Running in other pages
15
-
16
- ```
17
- npm version <new_version>
18
- npm publish
19
- ```
20
-
21
- After publishing, install the package in another project as follows;
22
10
  ```
23
11
  npm install mediaspace
24
12
  ```
25
13
 
26
- Use it as follows;
14
+ ## Step 2: Use it in your web app
15
+
27
16
  ```
28
17
  import Mediaspace from 'mediaspace'
29
18
 
30
19
  const M = new Mediaspace(<element>, {apiKey: <api_key>})
31
- ```
20
+ ```
21
+
22
+ Checkout the video tutorial below to see how to use this package; </br>
23
+
24
+ [![YouTube Thumbnail](https://img.youtube.com/vi/kldVLwh6w-U/hqdefault.jpg)](https://www.youtube.com/watch?v=kldVLwh6w-U)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediaspace",
3
- "version": "1.3.5",
3
+ "version": "1.4.0",
4
4
  "description": "Display media on your website",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",