This project is read-only.
1
Vote

problem running media

description

i could add the web part successfully.
when i add the web part, it just shows the list value.
i need some explaination on how it works, i f i want the webpart autmatically run the vedio when page opens.

comments

khaledelmansoury wrote Oct 21, 2010 at 10:06 PM

Hi,
What list value does it show?
Well, if you look at the source code:
After collecting all the settings you have specified (i.e. all the ones in the exported file and the ones entered via the Web interface, through Edit->Modify Shared web part->Right hand side), it connects to the list and just queries the appropriate row from the list using: <Where><Eq><FieldRef Name='[listnamefield]' /><Value Type='Text'>[listnamefieldval]</Value></Eq></Where>
Via Regex it then looks for the following variables: [File, Width, Height, Title, Desc, Autoplay] and checks whether any defaults have been specified for them in the HTML code you gave for Step 27. It replaces these placeholders with the appropriate values you have specified via the web interface (look above). If you have not specified a value it will use the default value that you specified in the HTML code.

Please don't hesitate to ask anymore questions if this explanation was not clear enough.

wrote Feb 14, 2013 at 2:22 AM