In the list of instagram posts (from media.json file, using InstagramPostsPostProcess post processor), its only showing photos at the moment, but needs to show all media type posts like videos, stories, profiles etc.
This would probably be easiest done by changing the post processor to combine all these posts into a single array, with each one specifying what type of post it is (with a property on the object).
Display each type of post with the correct HTML element (img for photo, video for video etc) using the sessionStorage repository to get the src URL of the media.
In the list of instagram posts (from
media.json
file, usingInstagramPostsPostProcess
post processor), its only showing photos at the moment, but needs to show all media type posts like videos, stories, profiles etc.This would probably be easiest done by changing the post processor to combine all these posts into a single array, with each one specifying what type of post it is (with a property on the object).
Display each type of post with the correct HTML element (
img
for photo,video
for video etc) using the sessionStorage repository to get the src URL of the media.