I am trying to edit the "Post.aspx" page of my blog. Here are the steps that I am trying to take:
I go to any random blog post. I click on "edit". I then click on "Add Web Part" on the Right hand side. I then add a "Script Editor" Web Part. I plan to add a custom field to the blog; but for now it would help if I could get any value from the "Posts" list in to this web part.
Here is an example of something that does work. What I would like to do is have this web part actually retrieve the src URL part from a custom field in the list rather than the hard coded url in this script. So if there is any way for me to retrieve data in to this script editor web part that would be great.
<div id="sidebar"> <iframe width="420" height="315" src="https://www.youtube.com/embed/fTTPYH-o5YM" frameborder="0" allowfullscreen></iframe> </div>