Saving videos intended to play using video embedding
In my website the users need to be able to en开发者_JAVA百科ter the embed code( from youtube) in a textbox and when they click a submit button the videos should be displayed in the webpage. If a user selects an embed code , paste it, then video will be displayed in aparticular block say Block A in webpage. And now again if they want another video to be displayed in same webpage and it should be displayed in a block B, The problem when I load the page , the last video will be displayed in both the blocks A and B. So some sort of saving mechanism may be required?
You have to save embedded code in database corresponding to user id. Fetch from database to display on page.
精彩评论