You just need to start the player after copying it.
set the filename of player "Player" of card "object" to "myurl"
copy player "Player" of card "object" to stack "stack2"
put the number of players of card "object" of stack "stack2" into myNumberOfPlayers
start player myNumberOfPlayers of card "object" of stack "stack2"
Sometimes it may be a good idea to send the play command after finishing the handler:
set the filename of player "Player" of card "object" to "myurl"
copy player "Player" of card "object" to stack "stack2"
put the number of players of card "object" of stack "stack2" into myNumberOfPlayers
send "startPlayer myNumberOfPlayer" to me in 0 millisecs
on startPlayer thePlayerNumber
start player thePlayerNumber of cd "object" of stack "stack2"
end startPlayer
It might also be a good idea to set the filename after copying it:
copy player "Player" of card "object" to stack "stack2"
put the number of players of card "object" of stack "stack2" into myNumberOfPlayers
set the filename of player myNumberOfPlayer of card "object" of stack "stack2" to "myurl"
send "startPlayer myNumberOfPlayer" to me in 0 millisecs
on startPlayer thePlayerNumber
start player thePlayerNumber of card "object" of stack "stack2"
end startPlayer
If you want to start playing the player control automatically when the card opens, just put the start player command into an openCard handler in the card script of card "object" of stack "stack2":
on openCard
put the number of players into myNumberOfPlayers
if myNumberOfPlayers > 0 then
start player myNumberOfPlayers
end if
end openCard