File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # AMPLiveLoadUsingNodeJS
2+ AMP using NodeJs where the new updates are loaded
3+ You may chech out the instruction here https://www.ampproject.org/docs/reference/components/amp-live-list
4+
5+ Clone instructions:
6+
7+ 1 . Git clone "url"
8+ 2 . cd into the directory
9+ 3 . use <b >npm install</b >
10+ 4 . then, use <b >npm start</b > to start your localhost
11+
12+ Use intructions:
13+
14+ 1 . Open http://localhost:3000/ on your browser
15+ 2 . Using postman or any other posting mechanism, <b >post</b > to the same above url with JSON format:
16+ {
17+ "YoutubeID": ~here put the youtube ID of the Youtube Video~
18+ }
19+
20+ If this is the url:
21+
22+ https://www.youtube.com/watch?v=<b>ttlTus58MNA</b>
23+
24+ <i>The video ID is: ttlTus58MNA</i>
25+
26+ So, the posting JSON would be:
27+ {
28+ "YoutubeID": "ttlTus58MNA"
29+ }
30+
31+ 3 . Click on the "You have updates!" button that appears after a while on the page opened on your browser.
32+ 4 . Give this repo a star : p
33+
You can’t perform that action at this time.
0 commit comments